wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

html basics exam

Total questions: 50

Worksheet time: 14mins

Name
Class
Date
1.

is the standard markup language for creating Web pages.

a)

Hyper Text Markup Language

b)

Hype Text Markup Language

c)

Hyper Text Mark Language

d)

Hyper Text Markup Languages

2.

elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.

a)

Hyper Text Markup Language

b)

Hype Text Markup Language

c)

Hyper Text Mark Language

d)

Hyper Text Markup Languages

3.

consists of a series of elements

a)

Hyper Text Mark Language

b)

Hype Text Markup Language

c)

Hyper Text Markup Language

d)

Hyper Text Markup Languages

4.

declaration defines that this document is an HTML5 document

a)

<html>

b)

<!DOCTYPE html>

c)

<head>

d)

<title>

5.

element is the root element of an HTML page

a)

<html>

b)

<!DOCTYPE html>

c)

<head>

d)

<title>

6.

element contains meta information about the HTML page

a)

<html>

b)

<!DOCTYPE html>

c)

<head>

d)

<title>

7.

element specifies a title for the HTML page

a)

<html>

b)

<!DOCTYPE html>

c)

<head>

d)

<title>

8.

element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

a)

<body>

b)

<title>

c)

<h1>

d)

<p>

9.

element defines a large heading

a)

<body>

b)

<title>

c)

<h1>

d)

<p>

10.

element defines a paragraph

a)

<body>

b)

<title>

c)

<h1>

d)

<p>

11.

An ___________ is defined by a start tag, some content, and an end tag:

a)

html tag

b)

html

c)

HTML element

d)

body

12.

____________________ do not have an end tag!

a)

content

b)

tags

c)

html elements

d)

Empty elements

13.

is to read HTML documents and display them correctly.

a)

wifi

b)

desktop

c)

apps

d)

browser

14.

The content inside ________ the section will be displayed in a browser.

a)

<title>

b)

<body>

c)

<head>

d)

<html>

15.

The content inside the ________ element will be shown in the browser's title bar or in the page's tab.

a)

<title>

b)

<body>

c)

<head>

d)

<html>

16.

An example of a simple text editor is all you need to learn HTML.

a)

google chrome

b)

mozilla firefox

c)

wordpad

d)

notepad

17.

The HTML document itself begins with ______ and ends with ________

a)

<html><\html>

b)

(html)(/html)

c)

<html></html>

d)

html start html end

18.

defines the most important heading

(a)  

19.

defines the least important heading

(a)  

20.

HTML paragraphs are defined with the (a)   tag:

21.

HTML links are defined with the (a)   tag:

22.

The link's destination is specified in the (a)   attribute.

23.

HTML images are defined with the (a)   tag.

24.

The source file for images

(a)  

25.

alternative text for images

(a)  

26.

tag defines a hyperlink

(a)  

27.

tag is used to embed an image in an HTML page

(a)  

28.

attributes of <img> provide size information for images

(a)  

29.

attribute of <a> specifies the URL of the page the link goes to

(a)  

30.

attribute of <img> specifies the path to the image to be displayed

(a)  

31.

attribute of <img> provides an alternate text for an image

(a)  

32.

attribute is used to add styles to an element, such as color, font, size, and more

(a)  

33.

attribute of the <html> tag declares the language of the Web page

(a)  

34.

attribute defines some extra information about an element

(a)  

35.

headings should be used for main headings

(a)  

36.

always starts on a new line

(a)  

37.

tag defines a thematic break in an HTML page, and is most often displayed as a horizontal rule.

(a)  

38.

element is used to separate content (or define a change) in an HTML page:

(a)  

39.

tag is an empty tag, which means that it has no end tag.

(a)  

40.

element defines a line break.

(a)  

41.

if you want a line break (a new line) without starting a new paragraph:

(a)  

42.

element defines preformatted text.

(a)  

43.

element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks:

(a)  

44.

attribute is used to add styles to an element, such as color, font, size, and more.

(a)  

45.

is a CSS property

(a)  

46.

is a CSS value.

(a)  

47.

property defines the background color for an HTML element.

(a)  

48.

property defines the text color for an HTML element:

(a)  

49.

property defines the font to be used for an HTML element:

(a)  

50.

property defines the text size for an HTML element:

(a)