1D0-61B · Question #14
Prior to HTML5, structuring a Web site using style sheets with the <div> tag and its ,dattribute has been an acceptable practice to govern the document's structure. With the emergence of HTML5, what…
The correct answer is A. <nav>, <article>, <aside>, <header>,<footer>. Option A is correct because HTML5 introduced semantic structural elements - <nav>, <article>, <aside>, <header>, and <footer> - specifically to replace the practice of using generic <div> tags with class/id attributes to communicate document structure. These elements give…
Question
Prior to HTML5, structuring a Web site using style sheets with the <div> tag and its ,dattribute has been an acceptable practice to govern the document's structure. With the emergence of HTML5, what five new elements were introduced for more effectiveness?
Options
- A<nav>, <article>, <aside>, <header>,<footer>
- B<nav>, <header>, <footer>, <body>,<footnote>
- C<nav>, <banner>, <article>,<header>,<footer>
- D<nav>,<banner>,<body>,<footer>,<sideimage>
How the community answered
(29 responses)- A93% (27)
- C3% (1)
- D3% (1)
Explanation
Option A is correct because HTML5 introduced semantic structural elements - <nav>, <article>, <aside>, <header>, and <footer> - specifically to replace the practice of using generic <div> tags with class/id attributes to communicate document structure. These elements give meaning to the layout, improving accessibility and SEO by letting browsers and screen readers understand the purpose of each section.
Option B is wrong because <body> is not a new HTML5 element (it existed since HTML 1.0), and <footnote> does not exist in HTML at all. Option C is wrong because <banner> is not a valid HTML element - it exists in ARIA roles but not as an HTML tag. Option D combines the non-existent <banner> and <sideimage> tags, neither of which are part of the HTML5 specification.
Memory tip: Think of a typical news article page - it has a header at the top, a nav bar for links, the main article content, an aside for related content, and a footer at the bottom. Any answer containing invented tags like <banner>, <footnote>, or <sideimage> is immediately disqualified.
Topics
Community Discussion
No community discussion yet for this question.