wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML QUIZ # 3

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

HTML stands for.....

a)

Hypertext Mark Up Language

b)

Home Type Mark Language

c)

Home Tool Mark up Language

d)

Hyperlinks and Text Mark up Language

2.

The root element of the HTML page

a)

<head>

b)

<html>

c)

<title>

d)

<p>

3.

The _____element contains meta information about the HTML page

a)

<html>

b)

<!Doctype html>

c)

<head>

d)

<style>

4.

this element is shown in the browser's title bar or in the page's tab.

a)

<head>

b)

<title>

c)

<html>

d)

<style>

5.

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

a)

<head>

b)

<html>

c)

<style>

d)

<body>

6.

Which of the following is used to create a hyperlink in HTML?

a)

<a>

b)

<link>

c)

<href>

d)

<url>

7.

What does the <img> tag require to display an image?

a)

src attribute

b)

alt attribute

c)

href attribute

d)

title attribute

8.

What attribute is used to specify the destination of a link in the <a> tag?

a)

src

b)

href

c)

link

d)

url

9.

Which of the following elements is used to create a line break in HTML?

a)

<br>

b)

<break>

c)

<line>

d)

<lb>

10.

Element that defines a large heading

a)

<h1>

b)

<h3>

c)

<h4>

d)

<h6>

11.

Element that defines a paragraph.

a)

<h1>

b)

<p>

c)

<head>

d)

<html>

12.

Which of the following are true about HTML Attributes?

a)
  • All HTML elements can have attributes

b)
  • Attributes provide additional information about elements

c)
  • Attributes are always specified in the start tag

d)

all of these

13.

Tag that defines hyperlink.

a)

<br>

b)

<a>

c)

<img>

d)

<href>

14.

The ____attributes specifies the URL of the page the link goes to.

a)

src

b)

href

c)

alt

d)

style

15.

This tag is used to attach image in an HTML page.

a)

<a>

b)

<img>

c)

src

d)

href

16.

The ____ attribute specifies the path to the image to be displayed

a)

img

b)

href

c)

src

d)

<a>

18.

Which character is used to indicate an end tag?

a)

/

b)

*

c)

+

d)

>

19.

Which code is correct for a image in html?

a)

<img src="pic_mountain.jpg"/

b)

<img "pic_mountain.jpg">

c)


<img src="pic_mountain.jpg">

20.

Which is the correct Doctype?

a)

<!DOCTYPE /html>

b)


<!DOCTYPE <html>

c)

<!DOCTYPE html>

d)

<DOCTYPE html>