0
What is the difference between html and xhtml?
3 Answers
+ 2
HTML = Hypertext Markup Language.
XHTML = eXtensible Hypertext Markup Language.
They're almost identical. XHTML is stricter and doesn't allow bad code. It's HTML redesigned as XML, which is a tool for transporting and storing data between an application and a database.
In XTML all tags must be closed and have lowercase. XHTML DOCTYPE and the xmlns attribute in <html> are mandatory.
These are some of the differences. Google "html vs xtml" for more info.
0
Thanks
- 1
Long story short, XHTML is HTML that follows XML rules.