Language and its relationship to providing meaning
Semantic Web
How our code can provide meaning to its contents/purpose
<html><head><title>Semantics and the Web</title></head><body><header><nav><ahref="/">Home</a></nav></header><section><h1>Section 1</h1><p>Lorem ipsum dolor...</p></section></body></html>
<nav><ahref="/">Home</a></nav>
Some Terminology
Opening Tag
Nav element
Attribute
Property
Value
Closing Tag
Nav element
Coding Semantic Meaning
√ use IDs & classes to convey meaning
√ use ALT & TITLE attributes
√ link to relevant sources
√ use tags to convey meaning (section, nav, aside, footer)
X use your own acronyms and shortened words
X use "click here" for link text
Analogy Exercise
Googlebot is a spider that visits websites and indexes them. It uses a proprietary algorithm (PageRank) to rank websites in search results.
What criteria would you use to rank people?
Why would one person be ranked higher than another?