Welcome!

Make IT Happen

Matthew David

Subscribe to Matthew David: eMailAlertsEmail Alerts
Get Matthew David via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Related Topics: RIA Developer's Journal, Web 2.0 Magazine, Java Developer Magazine, The Future of the Internet, Microsoft Developer

Internet Future: Blog Post

Using the New, Simpler DOCTYPE in HTML 5

The DOCTYPE is now easier to use

HTML 5 is making some things easier to use. The first is the DOCTYPE. Located at the top of a Web page before the opening BODY tag, the DOCTYPE describes the syntax for the page. The roots for the DOCTYPE lie in SGML. Bearing this in mind, all DOCTYPES for HTML 4 and XHTML require a DTD (Document Type Definition) to describe the content. This is all gone in HTML 5. Now, all you have to do to declare that you are using HTML 5 as your DOCTYPE is add the following to the root of your Web page:

<!doctype html>

That's it. Easy, huh?

More Stories By Matthew David

Matthew has written books for Friends of Ed, Pearson Press, New Riders, Wiley, Focal Press and Peach Pit. He is also experience at leading teams top deliver bestselling titles books that come with accompanying video training and media. An example is Flash MX Magic, a book written by 7 authors, with an accompanying web site and CD. The book sold over 45,000 copies in 12 languages. Matthew is also the author of 400+ articles.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.