Pro HTML5 Accessibility by Joshue O Connor
Author:Joshue O Connor [Connor, Joshue O]
Language: eng
Format: epub, pdf
Tags: Computers, Application Development, Internet, Web, Web Programming
ISBN: 9781430241942
Publisher: Apress
Published: 2012-03-26T04:00:00+00:00
Self-Contained Article
The new <article> element is a more self-contained, independent type creature. It is used to outline a self-contained composition that can be spread around the net if required, and it won’t need to pack a spare pair of pajamas because it has everything it needs already.
Note The <article> element can also represent a widget, and not just a blog entry or comment, but a composition and so on.
So if a blog post was added to our Guitar Gallery example using the <article> element, we might find it looking something like Listing 5-12.
Listing 5-12. Using <article> to Add a Blog Post
<article id=”MyGuitarBlog”>
<header>
<h1>Your first high end Guitar</h1>
<p> Taking the plunge, and why you should do it </p>
</header>
<p>Buying your first really high end axe is up there with moving house, doing a driving test or getting married in terms of being really important but the good news is it’s nothing like as stressful as any of those are!</p>
<p>[…] </p>
<footer>
<p>Some comments from interested humans </p>
</footer>
</article>
If some comments were actually added, they might look like Listing 5-13.
Listing 5-13. Comments in Blog Post Wrapped in <article> Elements
<article id="MyGuitarBlog">
<header>
<h1>Your first high end Guitar</h1>
<p> Taking the plunge, and why you should do it </p>
</header>
<p>Buying your first really high end axe is up there with moving house, doing a driving test
or getting married in terms of being really important but the good news is it’s nothing like
as stressful as any of those are!</p>
<p>[…] </p>
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9914)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
The Mikado Method by Ola Ellnestam Daniel Brolund(9777)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8296)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7778)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7696)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Windows APT Warfare by Sheng-Hao Ma(6835)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6565)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6431)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6413)
Kotlin in Action by Dmitry Jemerov(5062)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4316)
Functional Programming in JavaScript by Mantyla Dan(4038)
Solidity Programming Essentials by Ritesh Modi(3999)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3790)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3735)
The Ultimate iOS Interview Playbook by Avi Tsadok(3710)
