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.