Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

GR10 COMPROG DIAGNOSTIC EXAM TERM 2

Total questions: 50

Worksheet time: 25mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

Hyperlinks and Text Markup Language

c)

Home Tool Markup Language

d)

Hyperlinks and Tool Markup Language

2.

What is the correct sequence of HTML tags for starting a webpage?

a)

Head, Title, HTML

b)

Title, Head, HTML

c)

HTML, Head, Title

d)

NONE OF THE ABOVE

3.

Choose the correct HTML tag for the largest heading.

a)

H1

b)

H6

c)

H4

d)

H2

4.

What is the correct HTML tag for inserting a line break?

a)

br

b)

break

c)

lb

d)

rb

5.

Choose the correct HTML tag to make text bold?

a)

Bold

b)

B

c)

Bld

d)

Bl

6.

Choose the correct HTML tag to make the text italic.

a)

<i>

b)

<italic>

c)

<it>

d)

<il>

7.

How can you create a link?

a)

a href="mailto:xxx@yyy"

b)

a href="xxx@yyy"

c)

Mail>xxx@yyy

d)

Mail href="xxx@yyy"

8.

How can you make a list that lists the items with numbers?

a)

ol

b)

dl

c)

ul

d)

list

9.

How can you make a list that lists the items with bullets?

a)

dl

b)

ul

c)

ol

d)

list

10.

What is the correct HTML for inserting an image?

a)

img href="image.gif

b)

img src="image.gif"

c)

image src="image.gif"

d)

img>image.gif

11.

< br > What type of tag is this?

a)

line break tag

b)

A broken one

c)

An opening tag

d)

Closing tag

12.

Web pages start with which of the following tag?

a)

<!Doctype html>

b)

<body>

c)

<title>

d)

<style>

13.

<p> tag defines a ________

a)

Paragraph

b)

Line

c)

Link

d)

Table

14.

HTML is a

a)

Programming language

b)

Scripting language

c)

Markup language

d)

All of above

15.

Which character tells browser that it is end of tag in HTML statement?

a)

<

b)

>

c)

\

d)

/

16.

Choose the correct HTML element to define important text

a)

<strong>

b)

<sub>

c)

<sup>

d)

<i>

17.

Choose the correct HTML element to define emphasized text

a)

<em>

b)

<i>

c)

<sup>

d)

<ins>

18.

Apart from <b> tag, what other tag makes text bold ?

a)

<em>

b)

<strong>

c)

<i>

d)

<sub>

19.

What tag is used to display a picture in a HTML page?

a)

picture

b)

image

c)

img

d)

src

20.

HTML web pages can be read and rendered by _________.

a)

Compiler

b)

Server

c)

Web Browser

d)

Interpreter

21.

HTML tags are surrounded by which type of brackets.

a)

Curly

b)

Round

c)

Squart

d)

Angle

22.

Page designed in HTML is called as ________.

a)

Front Page

b)

Yellow Page

c)

Server Page

d)

Web Page

23.

We can write HTML Code using ______.

a)

None of these

b)

VLC Media

c)

Microsoft Word

d)

Notepad++

24.

Opening Tag of HTML Tag is called as __________.

a)

Closed Tag

b)

Forward Tag

c)

Starting Tag

d)

Ending Tag

25.

Which of the following tag is used to link the URL?

a)

<ol>

b)

< a >

c)

<strong>

d)

<ul>

26.

Link URL in HTML is specified using __________ attribute.

a)

href

b)

link

c)

rel

d)

src

27.

An element contains the visible page content.

a)

Html

b)

Title

c)

Body

d)

Heading

28.

It is made up of a word or abbreviation surrounded by angled brackets.

a)

Element

b)

Tag

c)

Title

d)

Attribute

29.

It is used to provide additional information about HTML elements.

a)

Element

b)

Tag

c)

Title

d)

Attribute

30.

It is an attribute that use to specify the styling of an element, like color, font, size etc.

a)

Element

b)

Tag

c)

Title

d)

Style

31.

What element defines preformatted text?

a)

<b>

b)

<pre>

c)

<a>

d)

<img>

32.

What element is used for creating links?

a)

<b>

b)

<a>

c)

<strong>

d)

<img>

33.

HTML element for the smallest heading.

a)

h7

b)

h5

c)

h1

d)

h6

34.

HTML element for inserting a line break

a)

<lb>

b)

<br>

c)

<p>

d)

<pre>

35.

HTML element to define important text

a)

<b>

b)

<p>

c)

<strong>

d)

<sub>

36.

HTML element to define emphasized text

a)

<p>

b)

<em>

c)

<ol>

d)

<ul>

37.

What symbol is used to indicate an end tag?

a)

@

b)

#

c)

/

d)

>

38.

HTML element for inserting image.

a)

<strong>

b)

<a>

c)

<img>

d)

<html>

39.

HTML element for inserting image and alternative text.

a)

<body>

b)

<strong>

c)

<img>

d)

<img src="link" alt="text">

40.

It is used for text fonts.

a)

font style

b)

font-size

c)

font-family

d)

text font

41.

It is used for text sizes.

a)

font-size

b)

font-family

c)

font size

d)

text size

42.

It is used for text alignment.

a)

text-align

b)

align text

c)

text-allignment

d)

justify

43.

It is used for text colors.

a)

background-color

b)

color

c)

text-color

d)

font color

44.

Defines subscript text.

a)

<sub>

b)

<sup>

c)

<b>

d)

<i>

45.

Defines italic text.

a)

<b>

b)

<strong>

c)

<i>

d)

<sub>

46.

Attribute for link

a)

href

b)

font-align

c)

font-size

d)

alt

47.

Attribute for image

a)

src

b)

color

c)

text-align

d)

font-family

48.

Symbols encloses a tag name.

a)

< >

b)

/

c)

" "

d)

=

49.

Defines underline text.

a)

<u>

b)

<strong>

c)

<i>

d)

<img>

50.

A tag which has no end tag.

a)

<img>

b)

<strong>

c)

<p>

d)

<html>