Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 7 Media

You're reading from   Drupal 7 Media Integrate, implement, and extend rich media resources such as images, videos, and audio on your Drupal 7 website with this book and ebook

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781849516082
Length 260 pages
Edition 3rd Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Liran Tal Liran Tal
Author Profile Icon Liran Tal
Liran Tal
Arrow right icon
View More author details
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 $19.99/month. Cancel anytime