Archive for the ‘XHTML’ Category

What is XHTML

var fbShare = {url: ‘http://sree.cc/xhtml/xhtml’,size:’large’} XHTML
XHTML stands for EXtensible HyperText Markup Language.
Features
• Stricter and cleaner version of HTML.
• Combination of HTML and XML (EXtensible Markup Language).
• XHTML consists of all the elements in HTML 4.01, combined with the strict syntax of XML.
Difference between HTML and XHTML
• XHTML elements must be properly nested
Eg: <b><i>This text is bold and italic</i></b>
• XHTML [...]

XHTML vs HTML

var fbShare = {url: ‘http://sree.cc/xhtml/xhtml-vs-html’,size:’large’} The main difference between XHTML and HTML is that XHTML is very very strict!
No carelessness will be tolerated here.
All tags must be closed! Empty as well as non empty elements must be closed. For example:
<p>This is a paragraph</p>
<br /> break (Note: please don’t forget the space before the ‘/’ [...]