What Is XHTML? XHTML stands for EXtensible HyperText Markup - TopicsExpress



          

What Is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is almost identical to HTML 4.01 XHTML is a stricter and cleaner version of HTML 4.01 XHTML is HTML defined as an XML application XHTML is supported by all major browsers. The Most Important Differences from HTML vs XHTML: Document Structure XHTML DOCTYPE is mandatory The XML namespace attribute in is mandatory , , , and is mandatory XHTML Elements XHTML elements must be properly nested XHTML elements must always be closed XHTML elements must be in lowercase XHTML documents must have one root element XHTML Attributes Attribute names must be in lower case Attribute values must be quoted Attribute minimization is forbidden How to Convert from HTML to XHTML Add an XHTML to the first line of every page Add an xmlns attribute to the html element of every page Change all element names to lowercase Close all empty elements Change all attribute names to lowercase Quote all attribute values
Posted on: Mon, 30 Sep 2013 01:34:17 +0000

Trending Topics



Recently Viewed Topics




© 2015