Modern and semantic tags that better describe what they contain <section><article><header><footer> • Support for multimedia <audio><video> • Make the code more readable by humans and browsers alike • Add support for accessibility - ARIA roles, Landmarks, and more.
Think newspaper article that can be read in context with other articles, ripped out and read independently. • Can contain a <header> and <footer> • Should contain identifying headings <h1> - <h6>
navigational aids • Can contain headers, but can also contain a site’s logo/branding • Can be a child of a <section> or can be the child of an <article>.
for author information or other article documentation. • Can contain site copyright information • May contain secondary navigational links or links to other sites related to the current document.
navigational links • Can have a navigational structure for pages within the site or links to external sites. • Can be the child of <section>, <header>, <footer>, or other tags.
to the main content. • Sidebar or insert containing items like author info, related links, advertisements. • Generally, the main content wouldn’t be unreadable or understandable without the <aside> content.
Håkon Wium Lie & Burt Bos • Allows stylesheets to be linked on multiple pages • CSS1 released in 1996, CSS2 released in 1998 • CSS3 earliest drafts in 1999 Håkon Wium Lie & Burt Bos
pages in a consistent way • Visual representation of the hierarchy outlined in the HTML • Separation of concerns. Content is displayed in HTML and styled using CSS. • It’s FUN!
modules • Adds a number of styling novelties previously only possible with images • Adds new layout mechanisms • All modules are in various states of standardization.
• Text-shadow: Add a shadow behind text. • Border-radius: Round corners of an element • Font-face: Use fonts that are not the default web- safe fonts • Transition: Animate the values of properties.
supported in a uniform manner across browsers • Some tags need browser specific prefixes in order to work • -webkit for Safari and Chrome, -moz for Firefox, and -ms for microsoft