Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 3. More HTML5 Semantics > More New Elements

3.4. More New Elements

In addition to the structural elements we saw in Chapter 2 and the <hgroup> element we’ve just covered, HTML5 introduces a number of new semantic elements. Let’s examine some of the more useful ones.

3.4.1. The <figure> and <figcaption> Elements

The <figure> and <figcaption> elements are another pair of new HTML5 elements that contribute to the improved semantics in HTML5. The <figure> element is explained in the spec as follows:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial