98-375 · Question #34
Which two semantic tags are used to define layouts in HTML5? (Choose two.)
The correct answer is A. <footer> D. <section>. New Semantic Elements in HTML5 Many of existing web sites today contains HTML code like this: <div id="nav">, <div class="header">, or <div id="footer">, to indicate navigation links, header, HTML5 offers new semantic elements to clearly define different parts of a web page…
Question
Which two semantic tags are used to define layouts in HTML5? (Choose two.)
Options
- A<footer>
- B<head>
- C<progress:
- D<section>
How the community answered
(21 responses)- A81% (17)
- B14% (3)
- C5% (1)
Explanation
New Semantic Elements in HTML5 Many of existing web sites today contains HTML code like this: <div id="nav">, <div class="header">, or <div id="footer">, to indicate navigation links, header, HTML5 offers new semantic elements to clearly define different parts of a web page: Note: A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: <div> and <span>-Tells nothing about its content. Examples of semantic elements: <form>, <table>, and <img>-Clearly defines its content.
Topics
Community Discussion
No community discussion yet for this question.