+ 1
What is the difference between xhtml and html5?
I was just curious to know what the difference between them is. Aren't they the same thing?
2 Answers
+ 6
Hello, Siddh Shah !
XHTML is not so different from the HTML 4.01 standard. The main differences:
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.
Basically, XHTML is HTML (all html tags are in XHTML), which follows the rules of XML (because this is an XML family).
Additional references can be found at:
http://www.w3schools.com/html/html_xhtml.asp
http://en.wikipedia.org/wiki/XHTML
http://www.sitepoint.com/web-foundations/differences-html-xhtml/
0
thanks
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
0 Votes
Тренажер кода
0 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes