<<

The Semanc Web

CSCI 470: Web Science • Keith Vertanen • Copyright © 2014 Overview • HTML5 semanc markup – Why? – Common tags • Custom markup – Microdata – RFDa – Microformats

2 3 Semanc web: why? • The problem: – Web pages are hard for computers to parse • Everything in a

with a id/class • Is the
with ID "menu" a navigaon sidebar or a menu of a restaurant? • What part of the page is: – A blog post? The date of the post? – Header of the web site? Footer? – Figure? Capon of that figure? – Web pages can be hard for some humans to parse • Users who are visually-impaired, only audio feedback • Users who are motor-impaired, only can use a few buons

4 Semanc web • What is it? "The Semanc Web is an extension of the current web in which informaon is given well-defined meaning, beer enabling computers and people to work in cooperaon" – May 2001, Scienfic American, Tim Berners-Lee

"The Semanc Web is a vision: the idea of having data on the Web defined and linked in a way that it can be used by machines not just for display purposes, but for automaon, integraon and reuse of data across various applicaons." – W3C 2001

5 New HTML5 semanc tags

6 hp://msdn.microso.com/en-us/ scriptjunkie/gg454786

7 Semanc element support

hp://caniuse.com/#feat=html5semanc

8

• According to W3C: – "represents a generic secon of a document" – "a themac grouping of content, typically with a heading" • Not a generic container for styling – That's the job of
– Avoid if
,