XHTML is the modern version of HTML, the original Web markup language. XHTML (and HTML) tags tells Web browsers how to display the information contained between the tags.
There is no difference between the .htm and .html extension.
I. Advantages of XHTML over HTML
A. XHTML does not let you be as sloppy in your markup as HTML does. While this may appear at first glance as
a disadvantage to some who like to be sloppy, it forces you to do things the same way every time and really learn
the language.
B. XHTML is much more compatible across different browsers than is HTML.
C. The best Web sites today are being built with XHTML, so this is the language you will see when you are looking at
source codes for ideas/questions.
II. Expanding an XHTML-created website
A. Embedded programs
1. Java applets
2. ActiveX controls (both are miniature programs that you can use in a Web page but are not written in XHTML)
B. Browser Plug-ins
1. Acrobat
2. Flash
The document type definition (DTD) is placed at the beginning of a Web page to tell the browser which language the page was written in:
XHTML Strict:
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XHTML Transitional:
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Tags tell the browser to run on and off formatting settings; tags are used in pairs with a start tag and an end tag. A pair of start and end tags is known as an element. ()
Standalone tags do not come in pairs and typically insert something into the page. (
)
The comment tag will tell the browser to hide everything that is between the tags ()
Use a validator (www.validome.org) to validate pages.
The validated code for the text example:
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Hire Me!
I am Lee Park, hire me for your company, because my work is off the hizzle.
As proof of my staggering computer skills and monumental work ethic, please enjoy this
electronic resume.

Indispensable Skills
My skills include:
- Fast typing (nearly 12 words/minute).
- Extraordinary pencil sharpening ability.
- Inventive excuse making.
- Negotiating with officers of the peace.
And I also know XHTML!
Previous Work Experience
I have had a long and illustrious career in a variety of trades. Here are some highlights:
- 2005-2008 – Worked as a typist at Flying Fingers
- 2008-2009 – Starred in Chapter 2 of Creating Web Pages: The Missing Manual
