wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FSWD (Introduction to HTML)

Total questions: 46

Worksheet time: 23mins

Name
Class
Date
1.

Who is making the Web standards?

a)

Mozilla

b)

Microsoft

c)

World Wide Web Consortium

d)

Google

2.

HTML tag for the largest heading

a)

<h1>

b)

<h6>

c)

<head>h1<head>

d)

<heading>h6<heading>

3.

HTML tag for inserting a line break

a)

<break />

b)

<lb />

c)

<br />

d)

<linebreak />

4.

HTML tag to make a text bold

a)

<b>

b)

<bold>

c)

<textbold>

d)

<boldtext>

5.

HTML tag for creating a hyperlink

a)

<a>http://www.sample.com</a>

b)

<a name=http://www.sample.com> Sample.com </a>

c)

<a url=http://www.sample.com> Sample.com </a>

d)

<a herf=http://www.sample.com> Sample </a>

6.

Which of these tags are all <table> tags?

a)

<table><tr><td>

b)

<table><tr><tt>

c)

<thead><body><tr>

d)

<table><head><tfoot>

7.

How can you make a list that lists the items with numbers? (1,2,... i,ii,.... I,II,...)

a)

<ul>

b)

<list>

c)

<li>

d)

<ol>

8.

HTML tag for inserting an image

a)

<img src="image.gif" alt="MyImage" />

b)

<img href="image.gif" alt="MyImage" />

c)

<image src="image.gif" alt="MyImage" />

d)

<img alt="MyImage">image.gif</img>

9.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
10.

The <hr> tag in HTML is used for

a)

A. new line new paragraph

b)

B. vertical ruler

c)

C. new paragraph

d)

D. horizontal ruler

11.

A program in HTML can be rendered and read by

a)

A. Web browser

b)

B. Server

c)

C. Interpreter

d)

D. None of the above

12.

www is based on which model?

a)

A.Local-server

b)

B.Client-server

c)

C.3-tier

d)

D.None of these

13.

What are Empty elements and is it valid?

a)

A. No, there is no such terms as Empty Element

b)

B. Empty elements are element with no data

c)

C. No, it is not valid to use Empty Element

d)

D. None of these

14.

HTML is a subset of

a)

A.SGMT

b)

B.SGML

c)

C.SGMD

d)

D.None of these

15.

Which of the following is a container?

a)

A.<SELECT>

b)

B.<BODY>

c)

C.<INPUT>

d)

D.Both (a) and (b)

16.

WYSIWYG

a)

A. What You See Is What You Get

b)

B.What You See Is What You Gain

c)

C. When You Star Is When You Go

d)

None of the above

17.

Choose the correct HTML element to define emphasized text

a)

<italic>

b)

<i>

c)

<em>

d)

<font>

18.

HTML comments start with <!-- and end with -->

a)

False

b)

True

19.

All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags.

a)

tag name

b)

class name

c)

attribute name

d)

style name

20.

In HTML a color can be specified by using what?

a)

HEX value

b)

Color name

c)

RGB value

d)

All of these

21.

HTML form is used for/to

a)

Collect user input

b)

It is not a section of a document

c)

Contains password control only

d)

Users can enter data in specific fields

e)

to capture website visitors' information

22.
Which of the following will create a column in an HTML table?
a)
<col>
b)
<td>
c)
<tcol>
d)
<data>
23.

rowspan="2"

a)

one td or th spans 2 columns

b)

all td or th spans 2 columns

c)

one td or th spans 2 rows

d)

one tr spans 2 rows

24.

What is a rowspan?

a)

An attribute that is used with <th> or <td> element to horizontally span two or more columns.

b)

An open-source and front-end framework that contains HTML and CSS design templates.

c)

An attribute that is used with <th> or <td> element to vertically span two or more rows

d)

This is an element that we used on every website

25.

What is a colspan?

a)

An attribute that is used with <th> or <td> element to horizontally span two or more columns.

b)

An open-source and front-end framework that contains HTML and CSS design templates.

c)

An attribute that is used with <th> or <td> element to vertically span two or more rows

d)

This is an element that we used on every website

26.

What is a Bootstrap?

a)

An attribute that is used with <th> or <td> element to horizontally span two or more columns.

b)

An open-source and front-end framework that contains HTML and CSS design templates.

c)

An attribute that is used with <th> or <td> element to vertically span two or more rows

d)

This is an element that we used on every website

27.

Which of the following feature is a part of HTML 5?

a)

A. Canvas

b)

B. Audio & Video

c)

C.Geo location

d)

D .All of the above.

28.

Which of the following HTML 4 attributes is removed in HTML5?

a)

A. text

b)

B. rules

c)

C. link

d)

D. all of the mentioned

29.

HTML5 documents may contains a ___________ element, which is used to set the header section of a document.

a)

A. header

b)

B. footer

c)

C. section

d)

D. none of the mentioned

30.

What is a search engine?

a)

a. a program that searches engines

b)

b. a web site that searches anything

c)

c. a hardware component

d)

d. a machinery engine that search data

31.

Which of the following HTML attribute is used to define inline styles?

a)

A. style

b)

B. type

c)

C. class

d)

D. None of the above

32.

Which of the following feature is a part of HTML 5?

a)

A. Canvas

b)

B. Audio & Video

c)

C.Geo location

d)

D .All of the above.

33.

HTML5 documents may contains a ___________ element, which is used to set the header section of a document.

a)

A. header

b)

B. footer

c)

C. section

d)

D. none of the mentioned

34.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.
35.
<!DOCTYPE> 
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
36.

What is the correct HTML for making a text area?

a)

<input type="textbox">

b)

<input type="textarea">

c)

<textarea>

37.

What is the correct HTML for making a drop-down list?

a)

<list>

b)

<input type="dropdown">

c)

<input type="list">

d)

<select>

38.

In HTML, which attribute is used to specify that an input field must be filled out?

a)

required

b)

validate

c)

formvalidate

d)

placeholder

39.

Which of the following defines the caption to a <fieldset> tag?

a)

<legend>

b)

<h1>

c)

<caption>

d)

<label>

40.

The action attribute tells the form:

a)

How to send the form's data

b)

Where to send the form's data

c)

When to send the form's data

41.

The viewer never sees the transfer of data when the form uses <form method="get">.

a)

True

b)

False

42.

______ tag represents self-contained content such as illustrations, photos, diagrams.

a)

<figure>

b)

<figcaption>

c)

<canvas>

d)

<nav>

43.

Which of the following audio format is supported by HTML5?

a)

.ogg

b)

.wav

c)

.mp3

d)

All of the above

44.

Canvas is able to draw the 2D graphics using______.

a)

XML

b)

HTML

c)

Java Script

d)

XHTML

45.

Which of the following represents a set of predefined options for an <input> element?

a)

<BRIEF>

b)

<SUMMARY>

c)

<DATALIST>

d)

<MAIN>

46.

______ can be termed as a special keyword used inside a tag to specify additional information about the tag and customize it.

a)

Element

b)

Attribute

c)

custom

d)

canvas