Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the Difference between XHTML and HTML?

difference html XHTML
0
Posted

What is the Difference between XHTML and HTML?

0

The Extensible HyperText Markup Language (XHTML) is a family of current and future document types and modules that reproduce, subset, and extend HTML, reformulated in XML. XHTML family document types are all XML-based, and ultimately are designed to work in conjunction with XML-based user agents. XML is used to effectively structure, store, and send this information over the web. What makes XML truly unique is that there are no predefined tags as is the case with HTML. All of the tags used in HTML have already been defined, such as the paragraph tag, the header tag, and all the various style tags. XML is not defined. You can make your own tags! XML, forms the basis for a language called XHTML. XHTML is what is known as a meta-language, which is a language for defining a markup language. To put it simply, SGML (Standard Generalized Markup Language) is the basis for HTML. XML is a more refined subset of SGML, and forms the basis for XHTML. On the whole, XHTML is more flexible than HTML.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123