Join Jen Kramer for an in-depth discussion in this video Understanding why link relationships are important in semantics, part of Web Semantics.
If you've surfed the web for more than two minutes you've discovered the power of links pretty quickly. You can easily switch from one page to another, reading information within a website or reading information between related websites. Links are made to documents like PDFs or office documents. And they're made to external resources like a style sheet that might augment the page that you're looking at. The HTML5 specification breaks links into two types. One type is the standard hyperlink. You know the hyperlink by the standard HREF tag.
You can link to other pages in your site to pages on other sites to documents, feeds, translations and so much more. The other type of link is an external resource. These are resources that enhance your page. Two of the most common examples are style sheets and a favicon. Where the style sheet is it's own document, unless you're a web developer. it's unlikely you are interested in the contents of that page directly. Instead, the style sheet is going to contain the instructions to make the page of interest pretty, with the appropriate colors and layout.
So why are these link relationships so important? They explain the purpose of the link. Not just where the link is going. We'll look at these link types in more detail in the coming chapter.
- Using HTML5 header, nav, and footer tags
- Addressing related content with aside and mark tags
- Defining internal and external link relationships
- Defining next and previous relationships
- Introducing schema.org
- Using itemscope and itemtype to add meaning
- Understanding the difference between RDF, RDFa, and RDFa Lite