Web Design Forum HTML CSS JavaScript PHP Graphic Design SEO forum

Full Version: HTML and XHTML
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What is the difference between HTML and XHTML?
The most important difference between the two markup languages is that HyperText Markup Language, or HTML, is an application of SGML (Standard Generalized Markup Language), and allows an author to omit certain tags and use attribute minimization. The Extensible HyperText Markup Language, or XHTML, is an application of XML (Extensible Markup Language).It doesn’t permit the omission of any tags or the use of attribute minimization..
HTML scripts is still applicable in XHTML. XHTML is nothing but a completion HTML codes.
HTML is about displaying information
XHTML is about describing the information
(12-13-2011 04:25 PM)Hilton Wrote: [ -> ]The most important difference between the two markup languages is that HyperText Markup Language, or HTML, is an application of SGML (Standard Generalized Markup Language), and allows an author to omit certain tags and use attribute minimization. The Extensible HyperText Markup Language, or XHTML, is an application of XML (Extensible Markup Language).It doesn’t permit the omission of any tags or the use of attribute minimization..

i agree with you..
XHTML is a combination of XML and HTML.
HTML- displays the data
XML- describes the data.
HTML is not mandatory for one root element where as XHTML documents must have one root element.
HTML stands for Hypertext Markup Language, whereas XHTML stands for Extensible Markup Language
Reference URL's