XHTML

toc = XHTML =

XHTML stands for EXtensible Hypertext Markup. Markup languages like XHTML, HTML, and XML tell web browsers how to display text and visual elements on a webpage. XHTML is almost identical to HTML 4.01 but cleaner because the elements are more strictly defined. It is a "reformulation of the three HTML 4 document types as applications of XML 1.0. Therefore, XHTML 1.0 conforms to both XML and HTML 4. XHTML has been recommended by @the W3C for web documents since January, 2000 (What is XHTML?).

HTML vs. XHTML
XHTML uses almost all of the HTML tags. There are three main differences between XHTML and HTML.
 * Unlike HTML, but like XML, XHTML allows you to create your own tags.
 * Unlike HTML, XHTML is unforgiving of "bad" code.
 * There are some HTML tags and commands that XHTML won't accept.

1. This is wrong:
 Coffee Tea

//Elements must be properly nested. This is correct://

 Coffee Tea  

//Notice the  tag after Tea, and the  tag in the correct code example// (HTML vs. XHTML). . 2. This is wrong:

This is a paragraph This is another paragraph

//Elements must be closed. This is correct://

This is a paragraph This is another paragraph (HTML vs. XHTML).

3. This is wrong:
A break: A horizontal rule: An image: 

//Empty elements must also be closed. This is correct://

A break:

A horizontal rule: An image:  (HTML vs. XHTML).

4. This is wrong:
 This is a paragraph</P> </BODY> (HTML vs. XHTML).

//Tag names and attributes must be in lower case. This is correct://

This is a paragraph (HTML vs. XHTML).

Don't use these tags in XHTML.
Some HTML codes that XHTML won't accept include center, font, frame, iframe, menu, strike, and target. See the video for more.

Video: What's the difference between xhtml and html? Uploaded by [Username] derekbanas.

media type="youtube" key="tB5ozZJbD34" height="315" width="560"

**References**
HTML vs. XHTML. (n.d.). W3schools.com.

W3C HTML Working Group. (2002, August 1). //XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition).//

XHTML Introduction. (n.d.). W3schools.com.