Relationship between web standardization, XHTML, and CSS cascading style sheets

Source: Internet
Author: User
Web standards divide webpages into three independent components:
* Structure: HTML, XHTML, XML
* Performance: CSS1 and CSS2
* Action: ECMAScript, DOM
So far, Chinese people have made any guidelines and guidelines on aesthetic appearance, and have no restrictions on the appearance and feeling of the site. They only enable the browser to correctly display the site created by the designer, help customers set goals based on the company's market needs and user analysis.
The Web standards can be:
* More precise control, positioning, and typographical browser
* Complex interactions
* Accessibility
* Supports multiple browsers
* New and old browsers can work
* Ensure that you can work on the browser in the future.
* Re-design the website to shorten the time
* Supports non-traditional devices
* It is easy to provide a suitable version for any web page
* Document re-design is easy during the release process
* HTML conversion to XML-based slogans
Reasons for using web standards:
* Enhanced interaction capabilities
* Enhanced accessibility
* Reduces maintenance workload
* Reduce bandwidth
* Cost reduction
XHTML is an XML-based markup language. It seems to be somewhat different from HTML. There are only small but important differences. As you can see, XHTML is an XML that plays a role similar to HTML.
In essence, XHTML is a bridge (transition) technology that combines the powerful functions of XML (somewhat) and the simple features of HTML (mostly.
---- Jeffery Zeldman
10 reasons for switching to XHTML:
* XHTML is the standard for replacing the HTML 4 markup language.
* XHTML can interact well with other XML-based markup languages, applications, and protocols.
* XHTML has better consistency than HTML.
* XHTML1.0 is a bridge to the future version of XHTML.
* The old browser can adapt to XHTML
* New browsers prefer XHTML instead of HTML.
* XHTML is good for other user agents such as wireless devices.
* XHTML is part of the Web standard family.
* XHTML helps you remove the bad habits of the presentation layer code
* XHTML helps you develop the habit of tag verification to test page work.
XHTML rules:
* Start with the correct DOCTYPE and namespace
* Use the META content element to declare your content encoding language
* Write all element and attribute names in lowercase letters
* All attribute values are enclosed in quotation marks and separated by spaces.
* Assign a value to all attributes.
* Close all labels
* Use spaces and diagonal lines to close empty labels.
* Do not use"
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.