Which HTML tag is used for the largest heading?
A
<h6> B
<h1> C
<heading> D
<header>
Analysis & Theory
`<h1>` defines the largest and most important heading in HTML.
Which HTML tag is used for the smallest heading?
A
<h1> B
<h6> C
<small> D
<p>
Analysis & Theory
`<h6>` is the smallest level of heading in HTML.
How many heading levels are available in HTML?
A
3 B
5 C
6 D
10
Analysis & Theory
HTML provides six heading tags: `<h1>` to `<h6>`.
Which heading tag would you use for a sub-section under `<h2>`?
A
<h1> B
<h2> C
<h3> D
<h6>
Analysis & Theory
`<h3>` is typically used as a sub-heading under an `<h2>`.
Which of the following is NOT a valid HTML heading tag?
A
<h0> B
<h1> C
<h5> D
<h6>
Analysis & Theory
HTML only supports `<h1>` to `<h6>`. `<h0>` is not valid.
Which HTML element is used to group headings and subheadings semantically?
A
<head> B
<section> C
<group> D
<div>
Analysis & Theory
`<section>` is used to group content with a heading and its related content.
Can multiple `<h1>` tags be used on a single HTML page?
A
No, only one `<h1>` is allowed B
Yes, but only in the header C
Yes, especially in HTML5 with multiple sections D
Only in the footer
Analysis & Theory
HTML5 allows multiple `<h1>` tags if they are in different sections or articles.
What happens if you use `<h1>` inside a paragraph `<p>` tag?
A
It creates a large heading B
It is valid and renders normally C
It causes a browser error D
It is invalid HTML structure
Analysis & Theory
Nesting `<h1>` inside a `<p>` tag is invalid HTML and may cause layout issues.
Which tag is suitable for a sub-subheading under `<h3>`?
A
<h2> B
<h4> C
<h5> D
<h6>
Analysis & Theory
`<h4>` is the next level under `<h3>` and suitable for sub-subheadings.
What is the default font weight of HTML heading tags?
A
Normal B
Bold C
Light D
Italic
Analysis & Theory
HTML headings are rendered bold by default.