Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML-1

Total questions: 70

Worksheet time: 12mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

Home Tool Markup Language

c)

Hyperlinks and Text Markup Language

d)

Hyper Modelling tooling Language

2.

Who is making the Web standards?

a)

Mozilla

b)

Microsoft

c)

CISCO

d)

The World Wide Web Consortium

3.

Choose the correct HTML tag for the largest heading

a)

Head

b)

H1

c)

H6

d)

BigHeading

4.

There are ___ levels of heading in HTML

a)

6

b)

4

c)

5

d)

1

5.

The purpose of markup is to

a)

add hypertext capabilities

b)

enhance the document

c)

both A & B

d)

none of the above

6.

Which of the following tags do not require a terminator?

a)

<u>

b)

<br>

c)

<b>

d)

none of the above

7.

To get the ordered list we use

a)

<h1>

b)

<ul>

c)

<ol>

d)

<ml>

8.

For a particular font its size attribute can be an absolute value ranging form

a)

1-10

b)

1-9

c)

1-8

d)

1-6

9.

Which one of the following tags is used to insert graphics in the webpage

a)

<image>

b)

<graphics>

c)

<images>

d)

<img>

10.

The following html tag is used to display the content as a moving text

a)

<marquee>

b)

</img>

c)

<a href>

d)

none of the above

11.

_____ tag is used before beginning of the paragraph text

a)

<textarea>

b)

<sup>

c)

<p>

d)

<h1>

12.

Example of picture editing software is

a)

ms word

b)

photoshop

c)

animator pro

d)

none of the above

13.

html document have a extension ______

a)

.htx or .htxl

b)

.htm or .html

c)

.hmt or hmtl

d)

.hmt or hmtl

14.

The _____ element can be used to identify your html file to the outside world

a)

title

b)

body

c)

head

d)

none of the above

15.

Which of the following tags do not require a terminator

a)

<u>

b)

<br>

c)

<b>

d)

none of the above

16.

Who is the father of HTML?

a)

Rasmus Lerdorf

b)

Tim Berners-Lee

c)

Brendan Eich

d)

Sergey Brin

17.

What is the correct syntax of doctype in HTML5?

a)

</doctype html>

b)

<!doctype html>

c)

<doctype html!>

d)

<doctype html>

18.

Which of the following is used to read an HTML page and render it?

a)

Web server

b)

Web network

c)

Web browser

d)

Web matrix

19.

How do we write comments in HTML?

a)

</…….>

b)

<!……>

c)

</……/>

d)

<…….!>

20.

Which element is used for or styling HTML5 layout?

a)

CSS

b)

JQUERY

c)

JSON

d)

PHP

21.

Which HTML tag is used for making character appearance bold?

a)

<u>content</u>

b)

<b>content</b>

c)

<br>content</br>

d)

<i>content</i>

22.

Which character is used to represent when a tag is closed in HTML?

a)

#

b)

!

c)

/

d)

\

23.

Which of the following HTML code will make an image clickable?

a)

<a href="https://www.sanfoundry.com/">Sanfoundry Home Page</a>

b)

<img src="https://www.sanfoundry.com/sanfoundry-logo"> <a href="https://www.sanfoundry.com/">Sanfoundry Home Page</a> </img>

c)

<a href="https://www.sanfoundry.com/">Sanfoundry Home Page</a> <img src="https://www.sanfoundry.com/sanfoundry-logo" />

d)

<a href="https://www.sanfoundry.com/"><img src="https://www.sanfoundry.com/sanfoundry-logo" /></a>

24.

In HTML, which attribute is used to create a link that opens in a new window tab?

a)

src=”_blank”

b)

alt=”_blank”

c)

target=”_self”

d)

target=”_blank”

25.

Which HTML element is used for short quote?

a)

<em>

b)

<abbr>

c)

<q>

d)

<blockquote>

26.

Which HTML element is used for abbreviation or acronym?

a)

<abbr>

b)

<blockquote>

c)

<q>

d)

<em>

27.

Which of the following tag is used to create a text area in HTML Form?

a)

<textarea> </textarea>

b)

<text></text>

c)

<input type=”text” />

d)

<input type=”textarea” />

28.

What is the correct syntax of web address?

a)

port://domain.filenmae:path/scheme/prefix

b)

prefix://scheme.port:domain/filename/path

c)

path://prefix.port:domain/filename/scheme

d)

scheme://prefix.domain:port/path/filename

29.

Which tag is used to create a dropdown in HTML Form?

a)

<input>

b)

<select>

c)

<text>

d)

<textarea>

30.

Which tag is used to create a numbered list in HTML?

a)

<ol>

b)

<ul>

c)

<li>

d)

<ll>

31.

How to create a checkbox in HTML Form?

a)

<input type=”text”>

b)

<input type=”textarea”>

c)

<input type=”checkbox”>

d)

<input type=”button”>

32.

How to insert Hyperlink in HTML Page?

a)

<a href="https://www.sanfoundry.com/1000-html-questions-answers/">HTML MCQ</a>

b)

<a target="https://www.sanfoundry.com/1000-html-questions-answers/" HTML Quiz />

c)

<a src="https://www.sanfoundry.com/1000-html-questions-answers/">HTML Test</a>

d)

<a>https://www.sanfoundry.com/1000-html-questions-answers/</a>

33.

Which HTML tag is used to convert the plain text into italic format?

a)

<b>

b)

<a>

c)

<i>

d)

<itl>

34.

What is the use of <hr/> tag in HTML?

a)

For making content appearance italics

b)

To create vertical rule between sections

c)

To create a line break

d)

To create horizontal rule between sections

35.

Which attribute is not essential under <iframe>?

a)

frameborder

b)

width

c)

height

d)

src

36.

Which works similar to <b> element?

a)

<blockquote>

b)

<strong>

c)

<em>

d)

<i>

37.

Which tag is used to underline the text in HTML?

a)

<p>

b)

<u>

c)

<i>

d)

<ul>

38.

Which attribute specifies a unique alphanumeric identifier to be associated with an element?

a)

type

b)

article

c)

id

d)

class

39.

Which of the following is an HTML specification used to add more information to HTML tags?

a)

Modifydata

b)

Minidata

c)

Macrodata

d)

Microdata

40.

Which HTML element is used for YouTube videos?

a)

<samp>

b)

<small>

c)

<frame>

d)

<iframe>

41.

In HTML ______ tag contains the information about the current document such as title etc.

a)

Body

b)

TD

c)

HEAD

d)

None of the above

42.

Which of the following is false?

a)

TYPE and NAME are the attributes of the INPUT tag

b)

SCR is a must if INPUT TYPE is imagI(

c)

POST allows the content of the forms to be passed one element at a time

d)

GET allows accepting one element at a time

43.

The components of multimedia are

a)

Text, pictures, video, sound

b)

Text pictures, animation

c)

Text, pictures, video, animation, sound

d)

None of the above

44.

Minimum main memory required to set up a multimedia computer is

a)

4GB

b)

4MB

c)

200MB

d)

8MB

45.

URL is an acronym for

a)

Universal research locator

b)

Uniform research locator

c)

Uniform resource locator

d)

Unified resource locator

46.

<input> is -

a)

a format tag.

b)

an empty tag.

c)

All of the above

47.

Which of the following tag is used to add rows in the table?

a)

<td> and </td>

b)

<th> and </th>

c)

<tr> and </tr>

d)

None of the above

48.

Which of the following HTML tag is used to display the text with scrolling effect?

a)

<marquee>

b)

<scroll>

c)

<div>

d)

None of the above

49.

Which of the following is the correct way to send mail in HTML?

a)

<a href = "mailto: xy@y">

b)

<a href = "xy@y">

c)

<mail xy@y</mail>

d)

None of the above

50.

Which of the following is the container for <tr>, <th>, and <td> ?

a)

<data>

b)

<table>

c)

<group>

d)

All of the above

51.

How many standard color names does HTML supports?

a)

120

b)

130

c)

140

d)

20

52.

Which of the following is not set with font-style property?

a)

font-style: normal

b)

font-style: italic

c)

font-style: oblique

d)

font-style: capitalize

53.

Which of the following is not used with text-decoration property?

a)

overline

b)

underline

c)

line-through

d)

inline

54.

Which works similar to <i> element?

a)

<strong>

b)

<em>

c)

<b>

d)

<blockquote>

55.

To show deleted text, which element is used?

a)

<ins>

b)

<del>

c)

<em>

d)

<strong>

56.

How <bdo> element works?

a)

override text direction

b)

stops writing in the current text direction

c)

only override direction of rtl text

d)

only changes the direction of ltr text

57.

For smaller text which element is used?

a)

<tiny>

b)

<min>

c)

<small>

d)

<em>

58.

HTML is a subset of

a)

SGML 

b)

SGMT 

c)

SGME

d)

XHTML

59.

What is the purpose of the HTML5 address> element?

a)

contains IP address 

b)

contains home address

c)

provides url 

d)

contains author contact 

60.

Which tag is not used if you want to indicate the importance of the phrase?

a)

<i>

b)

<h1>

c)

<em>

d)

<strong>

61.

Which of the following opens linked document in full body?

a)

_blank

b)

_top

c)

_parent

d)

framename

62.

Which attribute is used to link the bookmark?

a)

href

b)

id

c)

target

d)

<img>

63.

What is used for specifying an email to be sent?

a)

mailto:

b)

target

c)

id

d)

href

64.

Which of the following is not the parameter for email link?

a)

body

b)

bcc

c)

cc

d)

table

65.

Which one of the following is used for space character?

a)

%50

b)

%60

c)

%20

d)

%500

66.

Which of the following statement is true?

a)

Attribute names must be in uppercase

b)

Attribute values must be quoted

c)

Attribute minimization is mandatory

d)

Attribute values should not be quoted

67.

The ________ declaration specifies which characters and delimiters may appear in the application.

a)

DTD

b)

SGML

c)

XML

d)

HTML

68.

The __________ defines the syntax of markup constructs and include additional definitions such as character entity references.

a)

Attributes

b)

SGML

c)

Elements

d)

DTD

69.

The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question, a list of attribute definitions, and a closing.

a)

DOCTYPE

b)

ATTLIST

c)

DTD

d)

DTD

70.

model group contains the names of the elements that a tag may enclose.

a)

True

b)

False