ptg16476052
Workshop 383
13
Q How do you decide when to start using HTML5 structural tags?
A If you’re creating web pages for an audience that uses known browsers, you can
use whichever tags those browsers support. For example, at my job, all of the
employees use Google Chrome, so we can use HTML5 tags whenever we’re work-
ing on internal applications. However, on our public website, we continue to need
to support browsers that do not yet provide HTML5 support. Furthermore, we have
a large web application that was written before HTML5 existed, so we would have
to change all of our pages to use the new tags. These days the majority of websites
are written in HTML5, and if you haven’t upgraded your site yet, you should be
considering it.
Quiz
- In HTML4, which elements are used to construct the page outline?
- How does the behavior of a heading tag change when it’s placed within a
tag?
- How does the
- Does the tag define a new section on a page?
Quiz Answers
- In HTML4, the page outline is defined based on the headers used on the page.
- Placing headings in a
tag doesn’t change the heading behavior at all. It
just gives the section a title for the outline. - This was a trick question. None of the new HTML5 structural elements affect the
layout of the page. - The tag does not define a new page section.
Exercise
Take a look at one of your favorite websites and think about how you would organize the
page using HTML5 structural elements.