Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 7 Media - Third Edition

You're reading from  Drupal 7 Media - Third Edition

Product type Book
Published in Jul 2013
Publisher Packt
ISBN-13 9781849516082
Pages 260 pages
Edition 3rd Edition
Languages
Concepts
Author (1):
Liran Tal Liran Tal
Author Profile Icon Liran Tal
Liran Tal
Toc

RDFa and Microdata


One of HTML5's primary goals was to provide a more semantic web, replacing all the <div> and other elements with their class and ID attributes with better-suited elements, such as <article>, <section>, <nav>, and others. In doing that, it was intended to achieve a more semantic document, but what does it mean exactly? In Tim Berners-Lee's own words "the Web will be a place where the whim of a human being and the reasoning of a machine coexist in an ideal, powerful mixture".

This basically means that by creating a more structured web, machines will also be able to understand it and put it into a relative context. Let's identify some real-world examples as follows:

  • A pre-HTML5 website might have used the <input type="text"/> element to specify a text field for users to provide their phone number. While a desktop user would not mind this, mobile users would find it quite annoying to fill such a field using the full keyboard. Furthermore, on most...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime