Chapter 6: STRONG, EM, and Other Phrase Elements

 < Day Day Up > 



Overview

We've talked a little about semantic markup in the Introduction as well as in previous chapters—using tags that apply meaning to the document, rather than using tags purely for presentational purposes. While constructing purely semantic web pages is entirely a nice idea, I see it more as an ideal and a target to strive for. Not hitting the bull's-eye doesn't mean all is for naught; rather, getting close to the mark is, at the very least, a worthy effort.

Oftentimes in real-world situations, adding nonsemantic markup in order to fulfill a certain design requirement becomes necessary. This is primarily due to the lack of 100 percent standards support from the current crop of popular browsers. Certain CSS rules fall short of working properly in some modern browsers, and that can lead to the unfortunate peppering of extraneous tags to make certain designs work.

The important thing to keep in mind is that there are real benefits to be had by trying your best to use semantic structure—whenever possible. And that standards support, while not 100 percent, has reached a threshold where we can start building our sites now, using web standards methods. Sometimes, a compromise is necessary, but the more structure we can adhere to, the easier our jobs will become in the future.



 < Day Day Up > 



Web Standards Solutions. The Markup and Style Handbook
Web Standards Solutions: The Markup and Style Handbook (Pioneering Series)
ISBN: 1590593812
EAN: 2147483647
Year: 2003
Pages: 119
Authors: Dan Cederholm

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net