HTML5 and CSS3, Second Edition

(singke) #1

  • font

  • s

  • strike

  • tt

  • u


Some of those tags are pretty obscure, but lots of pages maintained with
visual editors such as Dreamweaver still contain occurrences of <font> and
<center> tags.

In addition, support for frames has been removed. Frames have always been
popular in enterprise web applications such as PeopleSoft, Microsoft Outlook
Web Access, and even custom-built portals. Despite their widespread use,
frames caused so many usability and accessibility issues that they just had
to go. That means these elements are gone:


  • frame

  • frameset

  • noframes


Look at ways to lay out your interfaces using CSS instead of frames. If you’re
using frames to ensure the same header, footer, and navigation appears on
each page of your application, you should be able to accomplish the same
thing with the tools provided by your web-development framework. For
example, you could look into the position:fixed CSS property.

A few other elements are gone because there are better options available:



  • acronym gets replaced by abbr.

  • applet gets replaced by object.

  • dir gets replaced by ul.


In addition, many attributes are no longer valid. These include presentational
attributes such as the following:


  • align

  • link, vlink, alink, and text attributes on the body tag

  • bgcolor

  • height and width

  • scrolling on the iframe element

  • valign

  • hspace and vspace

  • cellpadding, cellspacing, and border on table


report erratum • discuss

The Road to the Future Is Bumpy • 7


Download from Wow! eBook <www.wowebook.com>

Free download pdf