wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz - HTML Overview

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What does a browser ignore? (Select all that is applicable)

a)

Multiple character spaces (white space)

b)

Line breaks (carriage returns)

c)

Tabs

d)

Unrecognized markup

2.

Browsers need markup to display content correctly.

a)

True

b)

False

3.

Markup makes content elements not available to scripts and style rules.

a)

True

b)

False

4.

This is the element name enclosed in angle brackets (e.g.

in <p>, the element name is p)

a)

Tag

b)

Empty Element

c)

Block Element

d)

Inline Element

5.

The content and its markup (start and end tags).

a)

Tag

b)

Element

c)

Block Element

d)

Inline Element

6.

Some elements have no content and provide a simple directive. They are called _____ elements.

a)

Element

b)

Empty Elements

c)

Inline Elements

d)

Block Elements

7.

Are instructions that clarify or modify an element.

a)

Attribute

b)

Value

c)

Characteristics

d)

Entity

8.

There can be more than one attribute in a tag.

a)

True

b)

False

9.

In an attribute, its value might be a number, word, string of text, URL, or measurement.

a)

True

b)

False

10.

Putting elements inside other elements is called _______.

a)

Nesting

b)

Looping

c)

While Loop

d)

For Loop

11.

How do you leave a comment in HTML?

a)

By using #

b)

By using //

c)

By using <!-- and -->

d)

By using /* and */

12.

This lets browsers know that the document is written according to the HTML5 specification.

a)

<!DOCTYPE html>

b)

<html>

c)

<head>

d)

<body>

13.

This element is the root element that contains all the elements in the document.

a)

<!DOCTYPE html>

b)

<html>

c)

<head>

d)

<body>

14.

This element display in the browser tab and bookmark lists, and are used by search engines.

a)

<!DOCTYPE html>

b)

<html>

c)

<head>

d)

<body>

15.

The way elements relate to one another forms an outline-like structure is called ______.

a)

DOM (Document Object Model)

b)

Semantic markup

c)

Semantic Object Model (SOM)

d)

Document markup

16.

These elements are major components of the page that display like rectangular blocks stacking up on the page.

a)

Block Elements

b)

Inline Elements

c)

Markup Elements

d)

Attribute Elements

17.

These elements appear within the text flow of a block element

a)

Block Elements

b)

Inline Elements

c)

Markup Elements

d)

Attribute Elements

18.

Presentation is controlled by style sheets (CSS).

a)

True

b)

False

19.

Browsers do not have have their own style sheets (user agent style sheets) with default styles for HTML elements

a)

True

b)

False

20.

Which is an example of an opening tag? (Select all that are applicable)

a)

<h1>

b)

</p>

c)

<body>

d)

</a>

21.

Which is an example of a closing tag? (Select all that are applicable)

a)

</h6>

b)

</html>

c)

<head>

d)

<body>

22.

Based on the minimal document structure, the correct sequence of HTML tags for starting a webpage is

a)

Head, Title, HTML, Body

b)

HTML, Body, Title, Head

c)

HTML, Title, Body, Head

d)

HTML, Head, Title, Body

23.

Which symbol identifies a closing tag?

a)

<>

b)

/

c)

()

d)

\

24.

This is an example of an empty element

a)

<br>

b)

<h1>

c)

<p>

d)

<em>

25.

An attribute is composed of a ____ and ____.

a)

Attribute Name

b)

Value

c)

Entity

d)

Attribute Characteristic