Which tag is used for the largest heading in HTML?
A
<h6> B
<h1> C
<heading> D
<header>
Analysis & Theory
`<h1>` is the largest and most important heading tag in HTML.
How many levels of HTML headings are there?
A
3 B
6 C
5 D
10
Analysis & Theory
HTML provides six levels of headings: `<h1>` to `<h6>`.
Which HTML tag is used to define a paragraph?
A
<p> B
<para> C
<text> D
<paragraph>
Analysis & Theory
`<p>` is used to define a paragraph in HTML.
Which of the following is the correct HTML syntax to display 'Hello World'?
A
<hello>Hello World</hello> B
<p>Hello World</p> C
<h1>Hello World<h1> D
Hello World
Analysis & Theory
`<p>Hello World</p>` correctly displays a paragraph with the text.
What does HTML stand for?
A
HyperText Machine Language B
Hyper Tool Multi Language C
HyperText Markup Language D
Home Tool Markup Language
Analysis & Theory
HTML stands for **HyperText Markup Language**.
Which HTML element is used to insert a line break?
A
<break> B
<br> C
<lb> D
<line>
Analysis & Theory
`<br>` is used to insert a line break in HTML.
Which attribute is used in HTML to provide a tooltip (hover text)?
A
title B
alt C
tooltip D
hover
Analysis & Theory
`title` attribute provides tooltip text when hovered over.
Which HTML tag is used to add an image?
A
<img> B
<image> C
<src> D
<pic>
Analysis & Theory
`<img>` tag is used to display images in HTML.
Which tag is used to create a hyperlink in HTML?
A
<a> B
<link> C
<href> D
<url>
Analysis & Theory
`<a>` tag defines a hyperlink, and it uses the `href` attribute.
What is the purpose of the `<!DOCTYPE html>` declaration?
A
It links HTML and CSS B
It defines a document type and version C
It comments HTML code D
It starts the HTML head section
Analysis & Theory
`<!DOCTYPE html>` tells the browser that the document is an HTML5 file.