O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an Article

Another of the elements that’s new thanks to HTML5 is article Image. You’ve seen some examples of it in play already. Now let’s learn more about what makes it tick.

Image I’ve abbreviated the article contents and the nav code from the previous section to keep it simple. You can see the complete version of the page code on the book site at www.bruceontheloose.com/htmlcss/examples/. Although this example includes paragraphs and images only, an article can contain a variety of content types, such as video, figures, lists, and more.

...<body> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required