O'Reilly logo

HTML, XHTML, & CSS All-in-One For Dummies®, 2nd Edition by Andy Harris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. The Future of HTML: HTML 5

In This Chapter

  • Previewing HTML 5

  • Using new semantic markup tags

  • Embedding fonts

  • Using the new canvas tag for custom graphics

  • Audio and video support

  • Advanced features

The Web world is always changing. A new version of HTML — HTML 5 — is on the horizon, and it has some very interesting features. In this chapter, I preview the new features in HTML 5 and show you a few examples. When HTML becomes the standard, you'll be ahead of the game.

Can't We Just Stick with XHTML?

XHTML is great. When you add CSS to it, you can do a lot with XHTML. However, it isn't perfect. The Web is evolving, and we're now commonly doing things with Web pages that were once unheard of:

  • Sophisticated structure: Web-based documents frequently have navigation elements, footer elements, page sections, and individual articles. Developers often use many variations of the <div> tag to manage these elements. HTML 5 has them built in.

  • Multimedia: It's now common for Web pages to incorporate audio and video, yet these elements aren't built into HTML like image support. Instead, developers have to rely on external software, such as Flash.

  • Vector/real-time graphics: The graphics capabilities of current browsers are fine, but they don't allow real-time modification. Programmers often use third-party software, such as Flash or Silverlight, to bring in this capability.

  • Enhanced programming: Developers are no longer satisfied with Web pages as documents. Today's Web pages are the foundation of entire ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required