HTML and CSS Reference
In-Depth Information
search engine could weight links in a footer less highly than
links in a nav bar. There are many future uses that we can't
guess at—but they all depend on unambiguously assigning
meaning to content, which is the definition of semantic markup.
Summary
In this chapter, we've taken our first look at HTML5 and its
DOCTYPE. We've structured the main landmarks of a web page
using <header> , <footer> , <nav> , <aside> , and <article> , pro-
viding user agents with more semantics than the meaningless
generic <div> element that was our only option in HTML 4, and
styled the new elements with the magic of CSS.
We've seen its forgiving syntax rules such as optional upper-
case/lowercase, quoting and attribute minimisation, omitting
implied elements like head/body, omitting standard stuff like
type=”text/javascript” and type=”text/css” on the <script> ,
and <style> tags and we've even shown you how to tame the
beast of old IE versions. Not bad for one chapter, eh?
 
Search WWH ::




Custom Search