HTML5 Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - HTML5

Which HTML5 element is used to specify a header for a document or section?


 

 

 

 



C


Solution:-

Definition and Usage of HTML <header> Tag as follows:
The <header> element represents a container for introductory content or a set of navigational links of the application.

In HTML5, A <header> element typically contains the following:

  • one or more heading elements (<h1> - <h6>)
  • logo or icon or Brand name
  • authorship information

Note: You can implement several <header> elements in one HTML document. However, <header> cannot be placed within an another <header> element, <footer> or <address>.

An example of a header for an <article> is as follows:

<article>
 <header>
  <h1>Slight Book heading here</h1>
  <p>Posted by Chaitanya Kudumula</p>
  <p>Additional information here about Slight Book</p>
  </header>
  <p>Slight Book Interview Questions....</p>
</article>

 




Next 5 multiple choice(s)

1

In HTML5, what does the <aside> element define?

2

Browsers remove extra spaces when displaying an HTML file.

3

Which HTML5 element defines navigation links?

4

Which HTML5 element is used to display a scalar measurement within a known range?

5

Which input type defines a week and year control (no time zone)?

Comments