In the last article I covered how to Learn HTML in 15 minutes. In this video I’ll teach you how to write xHTML 1.0 Strict code in 1o minutes!
It is actually pretty easy. You just have to:
Change your DOCTYPE
Change Some Meta Tags
Close all your tags properly
Surround inline tags with block tags
Eliminate the use of a few tags
Leave the styling to Cascading Style Sheets
I have most of the header changes finished for you in the code that follows the video. It is W3C compliant and you can validate your own code here at The Markup Validation Service.
If you have any questions or comments leave them below. If you’d like to see this article written out instead of in a video check out What’s the Difference Between HTML and xHTML. It is a very nice article I wrote a few months back.
Validated Code from the Video
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
I plan on getting into the new versions of html and css. I had been waiting for them to become standardized, but that looks like that could take a while so I’ve been planning one. It will be out very soon
The tutorial is great! Will you cover the new features of HTML 5 soon?
I plan on getting into the new versions of html and css. I had been waiting for them to become standardized, but that looks like that could take a while so I’ve been planning one. It will be out very soon