meaningful html - a talk on structured markups
TRANSCRIPT
<div>
Come hear the Tiny Tim Tribute Band, live in concert on
July 6, 2013 at the beautiful Regency Theater!
</div>
Structured Data Markup
Example
Common structure
Structured Data Markup
Example
Microdata structure
<div itemscope itemtype="http://schema.org/Event">
Come hear the
<span itemprop="name">Tiny Tim Tribute Band</span>,
live in concert on
<span itemprop="startDate"
content="2013-07-06>July 6, 2013</span>
at the beautiful
<span itemprop="location" itemscope
itemtype="http://schema.org/Place">
<span itemprop="name">Regency Theater</span>!
</span>
</div>
http://schema.org
<div class="parent"> <h2>Heading</h2> <p>Some content...</p> <div class="child"> <h2>Another heading</h2> <p>Some other content...</p> </div> </div>
Not Helping ….
Introducing
HTML5 Section
<section>, <header>
<aside>, <article>
<nav>, <footer>
http://diveintohtml5.info/semantics.html
<!-- A common form that includes input tags --><form action="getform.php" method="get"> First name: <input type="text" name="first_name" /><br /> Last name: <input type="text" name="last_name" /><br /> E-mail: <input type="email" name="user_email" /><br /><input type="submit" value="Submit" /></form>
HTML5 Input
“HTML is not a collection of tags that we used to see. It is at it’s best when it reflects the meaning of the contents, made for it’s users”
- Shajed Evan