SlideShare une entreprise Scribd logo
1  sur  32
Meetup #1 13th April 2011
Tonight
•   Welcome
•   House Keeping
•   Meetups
•   Sponsors
•   Jobs
•   Quick Talk - Microdata
•   Drinks, Chats, Networking etc
Why Web Standards?
Meeting Format
Meeting
• Next Meetup Wednesday 11th May
  http://www.meetup.com/darwin-web-standards

• Suggest a topic
  http://www.darwinwebstandards.org/suggest

• Locations
• Helpers?
Around the Web
•   Website - http://www.darwinwebstandards.org
•   Meetup Group
    http://www.meetup.com/darwin-web-standards
•   Subscribe
    http://www.darwinwebstandards.org/subscribe
•   Follow us on Twitter @dwebstandards
•   Join Facebook Group (Darwin Web Standards)
•   Linked In Group (Darwin Web Standards)
Sponsors
Jobs
MICRODATA
Overview
• HTML5
• Semantic Web
• What is Microdata?
• Real World Examples
• When can we use it
HTML5
WHERE DID HTML5
 COME FROM?

• WHAT-WG - Web Applications 1.0
• W3C - HTML 5
WHAT IS HTML5?
• SVG Graphics       • Drop Shadows
• iPhone friendly    • Rounded Corners
• iPad friendly      • Semantic Markup
• IE6 Incompatible   • AJAX
• Transitions        • Web 3.0
• Typography
WHAT IS HTML5?
•          •
•          •
•          • Semantic Markup
•          •
•          •
•
WHAT IS HTML5?
•          •
•          •
•          • Semantic Markup
•          • plus a little more...
•          •
•
WHAT IS HTML5?
If anyone asks.....

“HTML5 is a positive
thing that is making
the Web a better
place.”
WHY SEMANTICS?
HTML5 SEMANTIC
         TAGS
•   <audio>

•   <video>

•   <header>

•   <section>

•   <article>

•   <nav>

•   <footer>

•   more (http://www.w3schools.com/html5/html5_reference.asp)
HTML5 SEMANTIC
      <body>
              TAGS                        <h1>Title</h1>
    <header>                            </header>
      <hgroup>                          <section>
        <h1>Page title</h1>               Content...
        <h2>Page subtitle</h2>          </section>
      </hgroup>                       </article>
    </header>                        </section>

    <nav>                          <aside>
     <ul>                           Top links...
       Navigation...               </aside>
     </ul>
    </nav>                           <figure>
    <section>                          <img src="..."/>
     <article>                         <figcaption>Chart 1.1</figcaption>
       <header>                      </figure>
         <h1>Title</h1>
       </header>                   <footer>
       <section>                    Copyright ©
         Content...                 <time datetime="2010-11-08">2010</time>.
       </section>                  </footer>
     </article>                  </body>
     <article>
       <header>
HTML5 SEMANTIC
     TAGS
Why the semantic web?

•   Web of data
•   Billions of pages
•   Machine Readable
•   How things are related
•   Allows us to easily find and combine data
What is Micro.....

• Microformats
• RDFa
• Microdata
Microformats

• hCard
• hCalendar
• hReview
• XFN (http://gmpg.org/xfn/creator)
XFN example

•   <a href="http://surfthedream.com.au" rel="me">Justin Avery</a>

•   <a href="http://www.laulovesyoga.com" rel="contact met co-
    resident spouse crush date sweetheart">Laura Anderson</a>

•   <a href="http://www.darwinwebstandards.org"
    rel="nofollow">Darwin Web Standards</a>
RDFa
     <?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
    "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    version="XHTML+RDFa 1.0" xml:lang="en">
  <head>
    <title>John's Home Page</title>
    <base href="http://example.org/john-d/" />
    <meta property="dc:creator" content="Jonathan Doe" />
    <link rel="foaf:primaryTopic" href="http://example.org/john-d/#me" />
  </head>
  <body about="http://example.org/john-d/#me">
    <h1>John's Home Page</h1>
    <p>My name is <span property="foaf:nick">John D</span> and I like
      <a href="http://www.neubauten.org/" rel="foaf:interest"
         xml:lang="de">Einstürzende Neubauten</a>.
    </p>
    <p>
      My <span rel="foaf:interest" resource="urn:ISBN:0752820907">favorite
      book is the inspiring <span about="urn:ISBN:0752820907"><cite
      property="dc:title">Weaving the Web</cite> by
      <span property="dc:creator">Tim Berners-Lee</span></span>
     </span>
    </p>
  </body>
</html>
Microdata
•   itemscope — defines a group of name-value pair(s), called an item

•   itemprop="property-name" — adds a property to a microdata item. The name of the property
    can be a word or URL, and the value is the ‘content’ of the element with this attribute:

•   For most elements, the value is the element’s text content (not including any HTML tags)

•   For elements with a URL attribute, the value is the URL (<img src="">, <a href="">, <object data="">,
    etc.)

•   For the <time> element, the value is the datetime="" attribute

•   For <meta itemprop="" content="">, the value is the content="" attribute

•   itemref="" — allows a microdata item to include non-descendent properties by referring to the ids
    of element(s) containing them

•   itemtype="" — defines the item’s type when used on the same element as itemscope. The itemtype
    value is a URL that acts as an identifying vocabulary name.

•   itemid="" — allows a microdata item to be associated with a unique identifier, for example an ISBN
    number on a book. Use itemid on the same element as the item’s itemscope and itemtype attributes.
Microdata
•   Person

•   Events

•   Locations

•   Product

•   Organization

•   Review (Review-aggregate)

•   Breadcrumb

•   Offer (Offer-aggregate)

    http://www.data-vocabulary.org
Real World Examples
So, why use it?
“Semantic markup and structured data is
the future. Incorporating Microdata as
part of your web site and content
management strategy now will give you
a head start and increase the relevance of
your data in the increasingly social and
structured Internet of tomorrow.”
Links
•   http://diveintohtml5.org/extensibility.html

•   http://slides.html5rocks.com/

•   http://html5doctor.com/microdata/

•   http://www.data-vocabulary.org


•   @justinavery
    http://surfthedream.com.au
Questions?
Your turn!

Contenu connexe

Tendances

Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Marc Grabanski
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSNaga Harish M
 
Responsive content
Responsive contentResponsive content
Responsive contenthonzie
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopShay Howe
 
Advanced CSS Troubleshooting
Advanced CSS TroubleshootingAdvanced CSS Troubleshooting
Advanced CSS TroubleshootingDenise Jacobs
 
Responsive UI using CSS Media Query
Responsive UI using CSS Media QueryResponsive UI using CSS Media Query
Responsive UI using CSS Media QueryNeev Technologies
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Russ Weakley
 
Advanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & EfficiencyAdvanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & EfficiencyDenise Jacobs
 
Meta layout: a closer look at media queries
Meta layout: a closer look at media queriesMeta layout: a closer look at media queries
Meta layout: a closer look at media queriesStephen Hay
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksNathan Smith
 
Responsive Design Tools & Resources
Responsive Design Tools & ResourcesResponsive Design Tools & Resources
Responsive Design Tools & ResourcesClarissa Peterson
 
Css best practices style guide and tips
Css best practices style guide and tipsCss best practices style guide and tips
Css best practices style guide and tipsChris Love
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3Doris Chen
 
CSS3: Are you experienced?
CSS3: Are you experienced?CSS3: Are you experienced?
CSS3: Are you experienced?Denise Jacobs
 

Tendances (20)

Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)
 
Fundamental CSS3
Fundamental CSS3Fundamental CSS3
Fundamental CSS3
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
Responsive content
Responsive contentResponsive content
Responsive content
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS Workshop
 
Advanced CSS Troubleshooting
Advanced CSS TroubleshootingAdvanced CSS Troubleshooting
Advanced CSS Troubleshooting
 
Responsive UI using CSS Media Query
Responsive UI using CSS Media QueryResponsive UI using CSS Media Query
Responsive UI using CSS Media Query
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5
 
HTML News Packages Lesson
HTML News Packages LessonHTML News Packages Lesson
HTML News Packages Lesson
 
Advanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & EfficiencyAdvanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & Efficiency
 
Meta layout: a closer look at media queries
Meta layout: a closer look at media queriesMeta layout: a closer look at media queries
Meta layout: a closer look at media queries
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
 
Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3
 
Responsive Design Tools & Resources
Responsive Design Tools & ResourcesResponsive Design Tools & Resources
Responsive Design Tools & Resources
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
Meta tag creation
Meta tag creationMeta tag creation
Meta tag creation
 
Css best practices style guide and tips
Css best practices style guide and tipsCss best practices style guide and tips
Css best practices style guide and tips
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
CSS3: Are you experienced?
CSS3: Are you experienced?CSS3: Are you experienced?
CSS3: Are you experienced?
 

Similaire à Darwin web standards

HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)François Massart
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bagstuplum
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 FundamentalLanh Le
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developersHernan Mammana
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateInventis Web Architects
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單偉格 高
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5Terry Ryan
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5Robert Nyman
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web DevelopmentDaryll Chu
 
[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & Accessibility[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & AccessibilityChristopher Schmitt
 
Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Nirav Patel
 
The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet Shubham Kumar Singh
 

Similaire à Darwin web standards (20)

HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bag
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-template
 
Html5
Html5Html5
Html5
 
Html5 public
Html5 publicHtml5 public
Html5 public
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
 
Seo Cheat Sheet
Seo Cheat SheetSeo Cheat Sheet
Seo Cheat Sheet
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
 
Apex & jQuery Mobile
Apex & jQuery MobileApex & jQuery Mobile
Apex & jQuery Mobile
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web Development
 
[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & Accessibility[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & Accessibility
 
Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet
 
Seo cheat sheet
Seo cheat sheetSeo cheat sheet
Seo cheat sheet
 

Darwin web standards

  • 1. Meetup #1 13th April 2011
  • 2. Tonight • Welcome • House Keeping • Meetups • Sponsors • Jobs • Quick Talk - Microdata • Drinks, Chats, Networking etc
  • 5. Meeting • Next Meetup Wednesday 11th May http://www.meetup.com/darwin-web-standards • Suggest a topic http://www.darwinwebstandards.org/suggest • Locations • Helpers?
  • 6. Around the Web • Website - http://www.darwinwebstandards.org • Meetup Group http://www.meetup.com/darwin-web-standards • Subscribe http://www.darwinwebstandards.org/subscribe • Follow us on Twitter @dwebstandards • Join Facebook Group (Darwin Web Standards) • Linked In Group (Darwin Web Standards)
  • 10. Overview • HTML5 • Semantic Web • What is Microdata? • Real World Examples • When can we use it
  • 11. HTML5
  • 12. WHERE DID HTML5 COME FROM? • WHAT-WG - Web Applications 1.0 • W3C - HTML 5
  • 13. WHAT IS HTML5? • SVG Graphics • Drop Shadows • iPhone friendly • Rounded Corners • iPad friendly • Semantic Markup • IE6 Incompatible • AJAX • Transitions • Web 3.0 • Typography
  • 14. WHAT IS HTML5? • • • • • • Semantic Markup • • • • •
  • 15. WHAT IS HTML5? • • • • • • Semantic Markup • • plus a little more... • • •
  • 16. WHAT IS HTML5? If anyone asks..... “HTML5 is a positive thing that is making the Web a better place.”
  • 18. HTML5 SEMANTIC TAGS • <audio> • <video> • <header> • <section> • <article> • <nav> • <footer> • more (http://www.w3schools.com/html5/html5_reference.asp)
  • 19. HTML5 SEMANTIC <body> TAGS        <h1>Title</h1>   <header>      </header>     <hgroup>      <section>       <h1>Page title</h1>        Content...       <h2>Page subtitle</h2>      </section>     </hgroup>    </article>   </header>   </section>   <nav>   <aside>    <ul>    Top links...      Navigation...   </aside>    </ul>   </nav>   <figure>   <section>     <img src="..."/>    <article>     <figcaption>Chart 1.1</figcaption>      <header>   </figure>        <h1>Title</h1>      </header>   <footer>      <section>    Copyright ©        Content...    <time datetime="2010-11-08">2010</time>.      </section>   </footer>    </article> </body>    <article>      <header>
  • 21. Why the semantic web? • Web of data • Billions of pages • Machine Readable • How things are related • Allows us to easily find and combine data
  • 22. What is Micro..... • Microformats • RDFa • Microdata
  • 23. Microformats • hCard • hCalendar • hReview • XFN (http://gmpg.org/xfn/creator)
  • 24. XFN example • <a href="http://surfthedream.com.au" rel="me">Justin Avery</a> • <a href="http://www.laulovesyoga.com" rel="contact met co- resident spouse crush date sweetheart">Laura Anderson</a> • <a href="http://www.darwinwebstandards.org" rel="nofollow">Darwin Web Standards</a>
  • 25. RDFa <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="XHTML+RDFa 1.0" xml:lang="en"> <head> <title>John's Home Page</title> <base href="http://example.org/john-d/" /> <meta property="dc:creator" content="Jonathan Doe" /> <link rel="foaf:primaryTopic" href="http://example.org/john-d/#me" /> </head> <body about="http://example.org/john-d/#me"> <h1>John's Home Page</h1> <p>My name is <span property="foaf:nick">John D</span> and I like <a href="http://www.neubauten.org/" rel="foaf:interest" xml:lang="de">Einstürzende Neubauten</a>. </p> <p> My <span rel="foaf:interest" resource="urn:ISBN:0752820907">favorite book is the inspiring <span about="urn:ISBN:0752820907"><cite property="dc:title">Weaving the Web</cite> by <span property="dc:creator">Tim Berners-Lee</span></span> </span> </p> </body> </html>
  • 26. Microdata • itemscope — defines a group of name-value pair(s), called an item • itemprop="property-name" — adds a property to a microdata item. The name of the property can be a word or URL, and the value is the ‘content’ of the element with this attribute: • For most elements, the value is the element’s text content (not including any HTML tags) • For elements with a URL attribute, the value is the URL (<img src="">, <a href="">, <object data="">, etc.) • For the <time> element, the value is the datetime="" attribute • For <meta itemprop="" content="">, the value is the content="" attribute • itemref="" — allows a microdata item to include non-descendent properties by referring to the ids of element(s) containing them • itemtype="" — defines the item’s type when used on the same element as itemscope. The itemtype value is a URL that acts as an identifying vocabulary name. • itemid="" — allows a microdata item to be associated with a unique identifier, for example an ISBN number on a book. Use itemid on the same element as the item’s itemscope and itemtype attributes.
  • 27. Microdata • Person • Events • Locations • Product • Organization • Review (Review-aggregate) • Breadcrumb • Offer (Offer-aggregate) http://www.data-vocabulary.org
  • 29. So, why use it? “Semantic markup and structured data is the future. Incorporating Microdata as part of your web site and content management strategy now will give you a head start and increase the relevance of your data in the increasingly social and structured Internet of tomorrow.”
  • 30. Links • http://diveintohtml5.org/extensibility.html • http://slides.html5rocks.com/ • http://html5doctor.com/microdata/ • http://www.data-vocabulary.org • @justinavery http://surfthedream.com.au