Simple knowledge of XHTML basics

Source: Internet
Author: User

What is XHTML

XHTML is the abbreviation for the Extensible Hypertext Markup Language (Extensible Identification language). HTML is a basic Web page design language, XHTML is an xml-based markup language, it looks like HTML, there are some small but important differences, XHTML is a role like HTML to play the XML, so, essentially speaking, XHTML is a transition technology that combines the power of some of the XML and the simplicity of most HTML features.

At the end of 2000, the International Organization for World Organizations (Wide Web Consortium) announced the release of the XHTML 1.0 version. XHTML 1.0 is a new language that is optimized and improved on the basis of HTML 4.0, and is designed to be based on XML applications. XHTML is an enhanced HTML, and its scalability and flexibility will accommodate more requirements for future network applications. XML is a powerful alternative to HTML, but it is too early to use XML directly in the face of thousands of existing HTML-based Web sites. Therefore, on the basis of HTML4.0, the XML rules are extended to obtain XHTML. Therefore, the purpose of establishing XHTML is to implement the transition from HTML to XML. The Web standards that are now respected internationally in web design are based on XHTML applications (commonly referred to as CSS+DIV).

XHTML version

To date, there are several versions of XHTML:

XHTML 1.0 transitonal

XHTML 1.0 Strict Type

XHTML 1.0 Frameset

XHTML 1.1

Webjx.com

XHTML Basics

where "XHTML 1.0 transitonal" is a reference to the "HTML 4.01 Transitional" adaptation, "XHTML 1.0 Strict" is the reference "HTML 4.01 Strict" adaptation, "XHTML 1.0 Frameset" is reference " HTML 4.01 Frameset "adapted.

The small note label added to Microsoft Internet Explorer 5.0 is supported in XHTML 1.1 (see Ruby characters).

XHTML syntax

Webjx.com

The XHTML language must conform to the XML format, for example, to be written and used, and must have one to end the paragraph. Also, XHTML tags must use lowercase letters, such as cannot be written as; Each attribute must be wrapped in quotes, and cannot be used if it must be used. The purpose of these practices is to enable an XHTML Web page to be compiled correctly and faster by the Web browser.

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.