wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML5 Quiz I

Total questions: 29

Worksheet time: 10mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyperlinks and Text Marking Language

b)

Hyper Text Markup Language

c)

Home Tool Markup Language

d)

Hyper Transfer Markup Language

2.

Which tag contains the main content shown in the browser window?

a)

<head>

b)

<body>

c)

<title>

d)

<!DOCTYPE>

3.

Which is the correct HTML5 doctype?

a)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

b)

<!DOCTYPE xhtml>

c)

<!DOCTYPE html>

d)

<?DOCTYPE html?>

4.

Which tag sets the text that appears in the browser tab?

a)

<h1>

b)

<meta>

c)

<body>

d)

<title>

5.

Which tag is used to create a hyperlink?

a)

<a>

b)

<link>

c)

<href>

d)

<url>

6.

Which attribute on <a> specifies the link’s destination?

a)

src

b)

href

c)

alt

d)

target

7.

Which heading tag is the largest by default?

a)

<h6>

b)

<h1>

c)

<h3>

d)

<h4>

8.

Which element creates a numbered (ordered) list?

a)

<ul>

b)

<dl>

c)

  1. <ol>

d)

<li>

9.

Which tag is used for items inside a list

( <ul> or <ol> )?

a)

  • <li>

b)

<dt>

c)

<dd>

d)

<p>

10.

Which two attributes are most important on <img> ?

a)

href and alt

b)

src and title

c)

src and alt

d)

path and caption

11.

Which element adds emphasis with meaning (often italic by default)?

a)

<i>

b)

<em>

c)

<b>

d)

<u>

12.

Which element shows strong importance (often bold by default)?

a)

<em>

b)

<i>

c)

<strong>

d)

<b>

13.

Which element is for italic text without extra meaning?

a)

<em>

b)

<i>

c)

<strong>

d)

<mark>

14.

Which element is for bold text without extra meaning?

a)

<b>

b)

<strong>

c)

<bold>

d)

<small>

15.

Which element highlights text (like a marker)?

a)

<mark>

b)

<marker>

c)

<marks>

d)

<kbd>

16.

Which element is good for fine print or disclaimers?

a)

<small>

b)

<sub>

c)

<sup>

d)

<var>

17.

Which element shows subscript text (e.g., H2O)?

a)

<sup>

b)

<sub>

c)

<dfn>

d)

<base>

18.

Which element shows superscript text (e.g., x2)?

a)

<power>

b)

<sub>

c)

<sup>

d)

<s>

19.

Which attribute shows an abbreviation’s full form on hover?

a)

name

b)

href

c)

alt

d)

title

20.

Which element is best for short code snippets?

a)

<kbd>

b)

<samp>

c)

<code>

d)

<var>

21.

Which Emmet shortcut expands to an HTML5 boilerplate?

a)

doc:5

b)

html:5

c)

page:5

d)

base:5

22.

In Emmet, which symbol creates sibling elements?

a)

>

b)

*

c)

^

d)

+

23.

In Emmet, which symbol creates a child element?

a)

>

b)

+

c)

*

d)

^

24.

Which snippet makes header, article and footer as siblings?

a)

header>article>footer

b)

body>(header+article)>footer

c)

header+article+footer

d)

header+article>footer

25.

Which Emmet snippet makes a list with three items?

a)

ul>(li>a)*3

b)

ul>li*3

c)

ol>li*2

d)

ul>li

26.

Which URL scheme is used for a email link?

a)

call:

b)

mailto:

c)

phone:

d)

dial:

27.

Clicking the logo in the header should go to which file?

a)

KCC_menu.html

b)

KCC_about.html

c)

KCC_promotion.html

d)

index.html

28.

Which Emmet builds a description list with two term/definition pairs?

a)

dl>dt*2+dd*2

b)

dl>(dt>dd)*2

c)

dl>(dt+dd)*2

d)

dl>(dd+dt)*2

29.

Which HTML element is used for site navigation links?

a)

<aside>

b)

<nav>

c)

<section>

d)

<footer>