SlideShare a Scribd company logo
11
 markup
Take your
                                             to




 Some rights reserved   Denver HTML5 Users Group   May 23, 2011
Web Designer       Writer     Instructor
emilylewisdesign.com

Co-Founder & Co-Manager, Webuquerque
webuquerque.com


Author, Microformats Made Simple
microformatsmadesimple.com

Co-author, HTML5 Cookbook


Email:   emily@emilylewisdesign.com
Blog:    ablognotlimited.com
Twitter: @emilylewis
Tonight, it’s all about


Markup
?
Transforms                    Canvas
                           Geolocation
Multiple Backgrounds
                 Web Storage
  Native Media                  Rounded Corners


        Offline Web Apps
                                 Transitions
    Gradients          SVG
Take Your Markup to 11
JOB
Good HTML
• Foundation of today’s web
• Can make a perfectly great web site
  with nothing else
• Easy to learn & implement
Great Markup
• Semantics for machine readability
• Accessible for all users
• Development efficiencies
• Syndication
• SEO and findability
• User experience enhancements
http://www.flickr.com/photos/nickwheeleroz/2220008689/
To reach this level of greatness, you have to


        Go to 11
Take Your Markup to 11
POSH
Plain Old Semantic HTML
POSH
• Markup that has meaning
• Markup that describes the content itself,
  not the presentation
• Elements used for their intended purpose*
• Valid*
Not POSH
    <table>
    
 <tr>
    
 
 <td><a    href="/">Home</a></td>
         <td><a   href="/products/">Products</a></td>
         <td><a   href="/services/">Services</a></td>
         <td><a   href="/about/">About</a></td>
    
 </tr>
    </table>


Also Not POSH
    <blockquote>
      <p>I need me some indented text!</p>
    </blockquote>
POSH FTW
   <ul>
   
 <li><a    href="/">Home</a></li>
      <li><a   href="/products/">Products</a></li>
      <li><a   href="/services/">Services</a></li>
      <li><a   href="/about/">About</a></li>
   </ul>


POSH & CSS
   <p>I need me some indented text!</p>
                             p:first-child {text-indent: 25px;}
POSH Tips
• Use <h1>-<h6> for headings & to define
  content outline
• Use <table> for tabular data, not layout
• List elements (<ol>, <ul>, <dl>) for lists
• Drop presentational elements (<u>,
  <big>, <center>) in favor of CSS

• Semantic class and id naming
POSH Benefits
• Web standards
• Portability for devices
• Common standard for teams
• Easier troubleshooting & maintenance
• More accessible
• Leaner markup = lighter-weight pages
*
Flexibility vs. Pedantry
• Use the right technology for the job
• Pave the cowpaths
• Our Best Practices Are Killing Us
  stubbornella.org/content/2011/04/28/our-best-practices-are-killing-us/


• Understanding HTML5 Validation
  impressivewebs.com/understanding-html5-validation/
HTML5
    5
More than Markup
• Rich media (<canvas>, <audio>, <video>)
• Interactive <form> enhancements
• APIs for application development
HTML5
• Backwards and forward compatible
• New and redefined semantic elements
• Obsolete presentational elements
• Flexible and simplified syntax
Is it for you?
Simplified DOCTYPE
Before
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
   Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/
   xhtml1-strict.dtd">

Now
   <!DOCTYPE html>
Flexible Style
• All coding styles are valid
 • Uppercase tag names
 • Optional quotes for attributes
 • Optional values for attributes
 • Optional closed empty elements
Block-level Links
Before
   <h1><a href="/">Emily Lewis Design</a></h2>
   <h2><a href="/">Beauty Isn’t Skin Deep</a></h2>
   <a href="/"><img src="logo.png" alt="Emily Lewis
   Design" /></a>

Now
   <a href="/">
     <h1>Emily Lewis Design</h1>
     <h2>Beauty Isn’t Skin Deep</h2>
     <img src="logo.png" alt="Emily Lewis Design" />
   </a>
Semantic Structure
• <section>
• <header>
• <footer>
• <nav>
• <aside>
• <article>
Site Layout
HTML5 Structure
Making the Move
Before
<div id="header">
   <h1><a href="/">The Law Office of Jimbob Smith</a></h1> 
   <a href="/"><img src="logo.png" alt="Jimbob Legal"/></a>
</div>

<ul>
  <li><a href="/News/">News</a></li>
  <li><a href="/Services/">Services</a></li>
  <li><a href="/Resources/">Resources</a></li>
  <li><a href="/About/">About</a></li>
</ul>
Making the Move
After
<header>
  <a href="/">
    <h1>The Law Office of Jimbob Smith</h1>
    <img src="logo.png" alt="Jimbob Legal" />
  </a>
</header>

<nav>
  <ul>
    <li><a href="/News/">News</a></li>
    <li><a href="/Services/">Services</a></li>
    <li><a href="/Resources/">Resources</a></li>
    <li><a href="/About/">About</a></li>
  </ul>
</nav>
HTML5 Tips
• Use as much or as little as you want
• Be aware of browser limitations
 • display: block
 • document.createElement
 • HTML5 Enabling Script
    remysharp.com/2009/01/07/html5-enabling-script/


• Remember, it is a Working Draft
  (“living standard”)
• Experiment and educate
More Meaning With


Microformats
Microformats
• HTML design patterns for describing
  common content like:
 • People, organizations and places
 • Events
 • Hyperlinks
 • Blog posts
 • Reviews
Microformats Benefits
• Semantics for machine readability
• User experience enhancements
• More meaningful search results & better
  findability
• Encourages consistency and standards
• Minimal development effort
• No need for software or special technologies
hCard
Before
   <dl>
     <dt>Emily Lewis</dt>
     <dd>
      <ul>
        <li><a href="http://www.ablognotlimited.com">
   A Blog Not Limited</a></li>
         <li>Albuquerque, <abbr title="New Mexico">NM</
   abbr> 87106</li>
        <li><a href="mailto:emily@ablognotlimited.com">
   emily@ablognotlimited.com</a></li>
      </ul>
     </dd>
   </dl>
hCard
After
   <dl class="vcard">
     <dt class="fn">Emily Lewis</dt>
     <dd>
      <ul>
        <li><a href="http://www.ablognotlimited.com"
   class="url">A Blog Not Limited</a></li>
         <li class="adr"><span
   class="locality">Albuquerque
   </span>, <abbr title="New Mexico" class="region">NM</
   abbr> <span class="postal-code">87106</span></li>
        <li><a href="mailto:emily@ablognotlimited.com"
   class="email">emily@ablognotlimited.com</a></li>
      </ul>
     </dd>
   </dl>
Downloadable vcard
• H2VX Contacts Conversion Service
  h2vx.com/vcf/


• Operator add-on for Firefox
  addons.mozilla.org/en-US/firefox/addon/operator/


• Tails Export Add-on for Firefox
  addons.mozilla.org/en-US/firefox/addon/tails-export/


• Michromeformats extension for Chrome
  chrome.google.com/extensions/detail/oalbifknmclbnmjlljdemhjjlkmppjjl


• SafariMicroformats plug-in for Safari
  zappatic.net/projects/safarimicroformats
HTML5 Likes Machine Readability Too


 Microdata
Microdata
Before
   <dl>
      <dt><a href="http://ablognotlimited.com">Emily
   Lewis</a></dt>
      <dd>Web Designer</dd>
      <dd>Albuquerque, <abbr title="New Mexico"
   class="region">NM</abbr>87106</dd>
   </dl>
Microdata
After
   <dl itemscope itemtype="http://data-vocabulary.org/
   Person">
      <dt itemprop="name"><a href="http://
   ablognotlimited.com" itemprop="url">Emily Lewis</a></
   dt>
      <dd itemprop="title">Web Designer</dd>
      <dd itemprop="address" itemscope itemtype="http://
   data-vocabulary.org/Address"><span
   itemprop="locality">Albuquerque</span>, <abbr
   title="New Mexico" itemprop="region">NM</abbr> <span
   itemprop="postal-code">87106</span></dd>
   </dl>
To use or not ...
• Yes, I’m biased
• Not as many parsers available
• More complex than microformats
• You don’t have to choose
2 Stones, 1 Bird
<dl class="vcard" itemscope itemtype="http://data-
vocabulary.org/Person">
   <dt class="fn" itemprop="name"><a href="http://
ablognotlimited.com" itemprop="url">Emily Lewis</a></
dt>
   <dd class="title" itemprop="title">Web Designer</
dd>
   <dd class="adr" itemprop="address" itemscope
itemtype="http://data-vocabulary.org/Address"><span
class="locality" itemprop="locality">Albuquerque</
span>, <abbr title="New Mexico" class="region"
itemprop="region">NM</abbr> <span class="postal-code"
itemprop="postal-code">87106</span></dd>
</dl>
ARIA Roles
ARIA
• Set of guidelines from WAI for
  accessible, rich internet applications
• Includes Document Landmark Roles to
  indicate document structure and aid
  navigation
• Attribute Selectors FTW!
  Understanding CSS Selectors: msdn.microsoft.com/en-US/scriptjunkie/gg619394.aspx
Landmark Roles
• role="banner"
• role="navigation"    not needed on <nav>


• role="main"
• role="search"
• role="article"
• role="complementary"      not needed on <aside>


• role="contentinfo"    not needed on <footer>
Adding Roles
XHTML
<div id="header" role="banner">
   <h1><a href="/">The Law Office of Jimbob Smith</a></h1> 
   <a href="/"><img src="logo.png" alt="Jimbob Legal"/></a>
</div>

<ul role="navigation">
  <li><a href="/News/">News</a></li>
  <li><a href="/Services/">Services</a></li>
  <li><a href="/Resources/">Resources</a></li>
  <li><a href="/About/">About</a></li>
</ul>
Adding Roles
HTML5
<header role="banner">
  <a href="/">
    <h1>The Law Office of Jimbob Smith</h1>
    <img src="logo.png" alt="Jimbob Legal" />
  </a>
</header>

<nav>
  <ul>
    <li><a href="/News/">News</a></li>
    <li><a href="/Services/">Services</a></li>
    <li><a href="/Resources/">Resources</a></li>
    <li><a href="/About/">About</a></li>
  </ul>
</nav>
Going to 11
• Use what works for you, your projects
  and your clients (not “all or nothing”)
• Experiment, test and decide for yourself
• Stay up-to-date on changes
Resources                                  AKA Self-Pimpage

• Meaningful Markup: POSH and Beyond
  msdn.microsoft.com/en-us/scriptjunkie/ff770012.aspx


• The Beauty of Semantic Markup
  ablognotlimited.com/articles/tag/Beauty+of+Semantic+Markup+series/


• Getting Semantic With Microformats
  ablognotlimited.com/articles/tag/Getting+Semantic+series/


• Web Accessibility & WAI-ARIA Primer
  msdn.microsoft.com/en-us/scriptjunkie/ff743762.aspx


• Microformats, HTML5 and Microdata
  ablognotlimited.com/articles/microformats-html5-microdata


• Using HTML5’s Semantic Tags Today
  msdn.microsoft.com/en-us/scriptjunkie/gg454786.aspx
Questions?
Thanks!
emily@emilylewisdesign.com @emilylewis

More Related Content

PDF
Take Your Markup to Eleven
PDF
HTML5 & CSS3 Flag
PPT
KEY
Intro to jQuery for Drupal
ZIP
Html5 public
KEY
jQuery for Drupal
PPTX
Challenges going mobile
PPTX
Basics of Front End Web Dev PowerPoint
Take Your Markup to Eleven
HTML5 & CSS3 Flag
Intro to jQuery for Drupal
Html5 public
jQuery for Drupal
Challenges going mobile
Basics of Front End Web Dev PowerPoint

What's hot (19)

PDF
Responsive Web Design
PPTX
GCC 11-13-15
PDF
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
PPTX
PDF
Modular HTML & CSS Workshop
PDF
Intro to OOCSS Workshop
PDF
Modular HTML & CSS Turbo Workshop
PDF
DrupalCon Austin - Absolute Beginner's Guide to Drupal
PDF
The web context
PPTX
WordPress Blogs 101
PDF
Code & Design Your First Website (Downtown Los Angeles)
KEY
PDF
Be nice to your designers
PDF
Decoupling the Front-end with Modular CSS
PDF
Developing Your Ultimate Package
PDF
Modern Front-End Development
PPTX
Getting into WordPress
PPT
Accessibility is not disability Drupal South 2014
PPTX
Polytechnic speaker deck oluwadamilare
Responsive Web Design
GCC 11-13-15
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
Modular HTML & CSS Workshop
Intro to OOCSS Workshop
Modular HTML & CSS Turbo Workshop
DrupalCon Austin - Absolute Beginner's Guide to Drupal
The web context
WordPress Blogs 101
Code & Design Your First Website (Downtown Los Angeles)
Be nice to your designers
Decoupling the Front-end with Modular CSS
Developing Your Ultimate Package
Modern Front-End Development
Getting into WordPress
Accessibility is not disability Drupal South 2014
Polytechnic speaker deck oluwadamilare
Ad

Similar to Take Your Markup to 11 (20)

PPTX
Introduction to HTML5
ODP
HTML 5 Drupalcamp Ireland Dublin 2010
PDF
[O'Reilly] HTML5 Design
PPTX
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
PDF
Creating HTML Pages
PDF
Web Accessibility for the 21st Century
PDF
[heweb11] HTML5 Makeover
DOCX
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
PDF
TOSSUG HTML5 讀書會 新標籤與表單
PDF
HTML CSS Best Practices
KEY
Slow kinda sucks
PDF
[edUi] HTML5 Workshop
KEY
Theming websites effortlessly with Deliverance (CMSExpo 2010)
PPTX
Curtin University Frontend Web Development
KEY
Darwin web standards
PPTX
Diazo: Bridging Designers and Programmers
PPTX
HTML/CSS Workshop @ Searchcamp
PDF
Seo Cheat Sheet
PDF
Seo cheat-sheet
PPTX
Semantic UI Introduction
Introduction to HTML5
HTML 5 Drupalcamp Ireland Dublin 2010
[O'Reilly] HTML5 Design
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Creating HTML Pages
Web Accessibility for the 21st Century
[heweb11] HTML5 Makeover
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
TOSSUG HTML5 讀書會 新標籤與表單
HTML CSS Best Practices
Slow kinda sucks
[edUi] HTML5 Workshop
Theming websites effortlessly with Deliverance (CMSExpo 2010)
Curtin University Frontend Web Development
Darwin web standards
Diazo: Bridging Designers and Programmers
HTML/CSS Workshop @ Searchcamp
Seo Cheat Sheet
Seo cheat-sheet
Semantic UI Introduction
Ad

More from Emily Lewis (14)

PDF
Create Your Own Starter Files
PDF
The Hiring Process
PDF
Designer-Friendly EE
PDF
10 Advanced CSS Techniques (You Wish You Knew More About)
PDF
Building the Webuquerque Community
PDF
Multiple Site Management with ExpressionEngine
KEY
WordPress & Other Content Management Systems
PDF
Microformats or: How I Learned to Write POSH and Love the Semantic Web
PDF
jQuery, A Designer's Perspective
KEY
Practical Microformats - Voices That Matter
KEY
[Workshop Summits] Microformats Workshop
KEY
Microformats: Web Semantics & More
KEY
Podcasting & Vodcasting 101
PPT
Webuquerque: Social Media Means Business
Create Your Own Starter Files
The Hiring Process
Designer-Friendly EE
10 Advanced CSS Techniques (You Wish You Knew More About)
Building the Webuquerque Community
Multiple Site Management with ExpressionEngine
WordPress & Other Content Management Systems
Microformats or: How I Learned to Write POSH and Love the Semantic Web
jQuery, A Designer's Perspective
Practical Microformats - Voices That Matter
[Workshop Summits] Microformats Workshop
Microformats: Web Semantics & More
Podcasting & Vodcasting 101
Webuquerque: Social Media Means Business

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Cloud computing and distributed systems.
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
MYSQL Presentation for SQL database connectivity
PDF
cuic standard and advanced reporting.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25-Week II
Building Integrated photovoltaic BIPV_UPV.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
sap open course for s4hana steps from ECC to s4
Cloud computing and distributed systems.
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Empathic Computing: Creating Shared Understanding
MYSQL Presentation for SQL database connectivity
cuic standard and advanced reporting.pdf
The AUB Centre for AI in Media Proposal.docx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Review of recent advances in non-invasive hemoglobin estimation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25-Week II

Take Your Markup to 11

  • 1. 11 markup Take your to Some rights reserved Denver HTML5 Users Group May 23, 2011
  • 2. Web Designer Writer Instructor emilylewisdesign.com Co-Founder & Co-Manager, Webuquerque webuquerque.com Author, Microformats Made Simple microformatsmadesimple.com Co-author, HTML5 Cookbook Email: emily@emilylewisdesign.com Blog: ablognotlimited.com Twitter: @emilylewis
  • 3. Tonight, it’s all about Markup
  • 4. ?
  • 5. Transforms Canvas Geolocation Multiple Backgrounds Web Storage Native Media Rounded Corners Offline Web Apps Transitions Gradients SVG
  • 7. JOB
  • 8. Good HTML • Foundation of today’s web • Can make a perfectly great web site with nothing else • Easy to learn & implement
  • 9. Great Markup • Semantics for machine readability • Accessible for all users • Development efficiencies • Syndication • SEO and findability • User experience enhancements
  • 11. To reach this level of greatness, you have to Go to 11
  • 14. POSH • Markup that has meaning • Markup that describes the content itself, not the presentation • Elements used for their intended purpose* • Valid*
  • 15. Not POSH <table> <tr> <td><a href="/">Home</a></td> <td><a href="/products/">Products</a></td> <td><a href="/services/">Services</a></td> <td><a href="/about/">About</a></td> </tr> </table> Also Not POSH <blockquote> <p>I need me some indented text!</p> </blockquote>
  • 16. POSH FTW <ul> <li><a href="/">Home</a></li> <li><a href="/products/">Products</a></li> <li><a href="/services/">Services</a></li> <li><a href="/about/">About</a></li> </ul> POSH & CSS <p>I need me some indented text!</p> p:first-child {text-indent: 25px;}
  • 17. POSH Tips • Use <h1>-<h6> for headings & to define content outline • Use <table> for tabular data, not layout • List elements (<ol>, <ul>, <dl>) for lists • Drop presentational elements (<u>, <big>, <center>) in favor of CSS • Semantic class and id naming
  • 18. POSH Benefits • Web standards • Portability for devices • Common standard for teams • Easier troubleshooting & maintenance • More accessible • Leaner markup = lighter-weight pages
  • 19. *
  • 20. Flexibility vs. Pedantry • Use the right technology for the job • Pave the cowpaths • Our Best Practices Are Killing Us stubbornella.org/content/2011/04/28/our-best-practices-are-killing-us/ • Understanding HTML5 Validation impressivewebs.com/understanding-html5-validation/
  • 21. HTML5 5
  • 22. More than Markup • Rich media (<canvas>, <audio>, <video>) • Interactive <form> enhancements • APIs for application development
  • 23. HTML5 • Backwards and forward compatible • New and redefined semantic elements • Obsolete presentational elements • Flexible and simplified syntax
  • 24. Is it for you?
  • 25. Simplified DOCTYPE Before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/ xhtml1-strict.dtd"> Now <!DOCTYPE html>
  • 26. Flexible Style • All coding styles are valid • Uppercase tag names • Optional quotes for attributes • Optional values for attributes • Optional closed empty elements
  • 27. Block-level Links Before <h1><a href="/">Emily Lewis Design</a></h2> <h2><a href="/">Beauty Isn’t Skin Deep</a></h2> <a href="/"><img src="logo.png" alt="Emily Lewis Design" /></a> Now <a href="/"> <h1>Emily Lewis Design</h1> <h2>Beauty Isn’t Skin Deep</h2> <img src="logo.png" alt="Emily Lewis Design" /> </a>
  • 28. Semantic Structure • <section> • <header> • <footer> • <nav> • <aside> • <article>
  • 31. Making the Move Before <div id="header">    <h1><a href="/">The Law Office of Jimbob Smith</a></h1>     <a href="/"><img src="logo.png" alt="Jimbob Legal"/></a> </div> <ul> <li><a href="/News/">News</a></li> <li><a href="/Services/">Services</a></li> <li><a href="/Resources/">Resources</a></li> <li><a href="/About/">About</a></li> </ul>
  • 32. Making the Move After <header> <a href="/"> <h1>The Law Office of Jimbob Smith</h1> <img src="logo.png" alt="Jimbob Legal" /> </a> </header> <nav> <ul> <li><a href="/News/">News</a></li> <li><a href="/Services/">Services</a></li> <li><a href="/Resources/">Resources</a></li> <li><a href="/About/">About</a></li> </ul> </nav>
  • 33. HTML5 Tips • Use as much or as little as you want • Be aware of browser limitations • display: block • document.createElement • HTML5 Enabling Script remysharp.com/2009/01/07/html5-enabling-script/ • Remember, it is a Working Draft (“living standard”) • Experiment and educate
  • 35. Microformats • HTML design patterns for describing common content like: • People, organizations and places • Events • Hyperlinks • Blog posts • Reviews
  • 36. Microformats Benefits • Semantics for machine readability • User experience enhancements • More meaningful search results & better findability • Encourages consistency and standards • Minimal development effort • No need for software or special technologies
  • 37. hCard Before <dl> <dt>Emily Lewis</dt>   <dd>    <ul>      <li><a href="http://www.ablognotlimited.com"> A Blog Not Limited</a></li>       <li>Albuquerque, <abbr title="New Mexico">NM</ abbr> 87106</li>      <li><a href="mailto:emily@ablognotlimited.com"> emily@ablognotlimited.com</a></li>    </ul> </dd> </dl>
  • 38. hCard After <dl class="vcard"> <dt class="fn">Emily Lewis</dt>   <dd>    <ul>      <li><a href="http://www.ablognotlimited.com" class="url">A Blog Not Limited</a></li>       <li class="adr"><span class="locality">Albuquerque </span>, <abbr title="New Mexico" class="region">NM</ abbr> <span class="postal-code">87106</span></li>      <li><a href="mailto:emily@ablognotlimited.com" class="email">emily@ablognotlimited.com</a></li>    </ul> </dd> </dl>
  • 39. Downloadable vcard • H2VX Contacts Conversion Service h2vx.com/vcf/ • Operator add-on for Firefox addons.mozilla.org/en-US/firefox/addon/operator/ • Tails Export Add-on for Firefox addons.mozilla.org/en-US/firefox/addon/tails-export/ • Michromeformats extension for Chrome chrome.google.com/extensions/detail/oalbifknmclbnmjlljdemhjjlkmppjjl • SafariMicroformats plug-in for Safari zappatic.net/projects/safarimicroformats
  • 40. HTML5 Likes Machine Readability Too Microdata
  • 41. Microdata Before <dl>    <dt><a href="http://ablognotlimited.com">Emily Lewis</a></dt>    <dd>Web Designer</dd>    <dd>Albuquerque, <abbr title="New Mexico" class="region">NM</abbr>87106</dd> </dl>
  • 42. Microdata After <dl itemscope itemtype="http://data-vocabulary.org/ Person">    <dt itemprop="name"><a href="http:// ablognotlimited.com" itemprop="url">Emily Lewis</a></ dt>    <dd itemprop="title">Web Designer</dd>    <dd itemprop="address" itemscope itemtype="http:// data-vocabulary.org/Address"><span itemprop="locality">Albuquerque</span>, <abbr title="New Mexico" itemprop="region">NM</abbr> <span itemprop="postal-code">87106</span></dd> </dl>
  • 43. To use or not ... • Yes, I’m biased • Not as many parsers available • More complex than microformats • You don’t have to choose
  • 44. 2 Stones, 1 Bird <dl class="vcard" itemscope itemtype="http://data- vocabulary.org/Person">    <dt class="fn" itemprop="name"><a href="http:// ablognotlimited.com" itemprop="url">Emily Lewis</a></ dt>    <dd class="title" itemprop="title">Web Designer</ dd>    <dd class="adr" itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address"><span class="locality" itemprop="locality">Albuquerque</ span>, <abbr title="New Mexico" class="region" itemprop="region">NM</abbr> <span class="postal-code" itemprop="postal-code">87106</span></dd> </dl>
  • 46. ARIA • Set of guidelines from WAI for accessible, rich internet applications • Includes Document Landmark Roles to indicate document structure and aid navigation • Attribute Selectors FTW! Understanding CSS Selectors: msdn.microsoft.com/en-US/scriptjunkie/gg619394.aspx
  • 47. Landmark Roles • role="banner" • role="navigation" not needed on <nav> • role="main" • role="search" • role="article" • role="complementary" not needed on <aside> • role="contentinfo" not needed on <footer>
  • 48. Adding Roles XHTML <div id="header" role="banner">    <h1><a href="/">The Law Office of Jimbob Smith</a></h1>     <a href="/"><img src="logo.png" alt="Jimbob Legal"/></a> </div> <ul role="navigation"> <li><a href="/News/">News</a></li> <li><a href="/Services/">Services</a></li> <li><a href="/Resources/">Resources</a></li> <li><a href="/About/">About</a></li> </ul>
  • 49. Adding Roles HTML5 <header role="banner"> <a href="/"> <h1>The Law Office of Jimbob Smith</h1> <img src="logo.png" alt="Jimbob Legal" /> </a> </header> <nav> <ul> <li><a href="/News/">News</a></li> <li><a href="/Services/">Services</a></li> <li><a href="/Resources/">Resources</a></li> <li><a href="/About/">About</a></li> </ul> </nav>
  • 50. Going to 11 • Use what works for you, your projects and your clients (not “all or nothing”) • Experiment, test and decide for yourself • Stay up-to-date on changes
  • 51. Resources AKA Self-Pimpage • Meaningful Markup: POSH and Beyond msdn.microsoft.com/en-us/scriptjunkie/ff770012.aspx • The Beauty of Semantic Markup ablognotlimited.com/articles/tag/Beauty+of+Semantic+Markup+series/ • Getting Semantic With Microformats ablognotlimited.com/articles/tag/Getting+Semantic+series/ • Web Accessibility & WAI-ARIA Primer msdn.microsoft.com/en-us/scriptjunkie/ff743762.aspx • Microformats, HTML5 and Microdata ablognotlimited.com/articles/microformats-html5-microdata • Using HTML5’s Semantic Tags Today msdn.microsoft.com/en-us/scriptjunkie/gg454786.aspx