Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML - 60 ISH

Total questions: 80

Worksheet time: 40mins

Name
Class
Date
1.

HTML language is used to create………………

a)

Web browser

b)

Webpage

c)

None of these

d)

Document

2.

HTML is the standard …………based language for creating web pages.

a)

Tag

b)

Text

c)

Code

d)

Word

3.

HTML was developed in ……………

a)

1980

b)

1989

c)

1994

d)

1999

4.

The first version of HTML was released in ………………

The current version of HTML is .....................

Current of HTML is released on December ....................

a)

1993, 5.2, 2017

b)

1992, 5.1, 2019

c)

1989, 5.0, 2020

d)

1970, 5.4, 2022

5.

Which statement given below is incorrect ?

a)

HTML created webpage can be opened in

Internet Explorer

b)

Notepad is a basic text editor for HTML

coding.

c)

HTML is a very simple language to create

webpages

d)

Notepad is used to display any

webpage

6.

Which is given below not a text editor for HTML coding ?

a)

WordPad

b)

Notepad

c)

TextEdit

d)

Notepad++

7.

.................is the extension of a webpage.

a)

HTL

b)

URL

c)

HTML

d)

HTTP

8.

Without a…………users can't access a webpage on Internet

a)

Link

b)

Tag

c)

FTP

d)

URL

9.

…………is used to type URL of any website in a web browser.

a)

Address Bar

b)

Title bar

c)

Website

d)

Webpage

10.

……….are special codes that tell the web browser how to display the content on a webpage.

a)

None of these

b)

Tags

c)

HTTPS

d)

URL

11.

Tags are usually written inside ..................brackets

a)

{ }

b)

< >

c)

( )

d)

[ ]

12.

Which is given below not a container tag ?

a)

<H1>

b)

<img>

c)

<html>

d)

<p>

13.

…………tag contains information that is not displayed in a webpage.

a)

<HEAD>

b)

<HTML>

c)

<TITLE>

d)

<BODY>

14.

…………contains

all visible elements like text, images, links, videos, headings, paragraphs, listsand tables.

a)

<html>

b)

<head>

c)

<title>

d)

<body>

15.

Which tag is used to set background colour in a webpage ?

a)

None of these

b)

<bgcolor>

c)

<background Color>

d)

<textcolor >

16.

<br> tag is used for ………….

a)

line break

b)

Sentence break

c)

Section break

d)

Page break

17.

HTML is a case sensitive language.

a)

TRUE

b)

False

18.

………….tag is used to display lowest heading level in a webpage.

a)

<h6>

b)

<h2>

c)

<h5>

d)

<h1>

19.

…………..is an empty tag.

a)

<b>

b)

None of these

c)

<body>

d)

<p>

20.

Which statement of syntax is correct ?

a)

<Font color="blue" Hello </font>

b)

<Font> color="blue"> Hello </font>

c)

<Fontcolor="blue"> Hello </font>

d)

<Font color="blue"> Hello </font>

21.

………………tag in HTML is used to create hyperlinks.

a)

<b>

b)

<hypertext>

c)

<hyperlink>

d)

<a>

22.

</h> is used for .....................

a)

Closing header tag

b)

Head Tag

c)

Half of a tag

d)

Header Tag

23.

</p> tag is used for .............

a)

create paragraph tag

b)

closing paragraph tag

c)

closing punctuation tag

d)

None of these

24.

An attribute is a.........................

a)

None of these

b)

Allows for no changes to the site

c)

How behaviour and display of tags in

webpage

d)

Applies changes to everything in a webpage

25.

Which symbol used in closing tag ?

a)

<>

b)

/

c)

\

d)

=

26.

Which tag is used to create description list ?

a)

<LI>

b)

<UL>

c)

<OL>

d)

<DL>

27.

An ordered list begins with______ and ends with_________

a)

<ol>and</ul>

b)

<ol> and </al>

c)

<al> and </al>

d)

<ol>and</ol>

28.

The <tr> tag is used to define a

a)

Table Column

b)

Table Record

c)

Cell

d)

Table row

29.

Which list tag would you use for an unordered list ?

a)

<a></a>

b)

<ul></al>

c)

<ol></ol>

d)

None of these

30.

To set the image size, Which command should I use?

a)

long="400"

b)

width="400"

c)

short="400"

d)

center="400"

31.

What is the correct HTML code for creating a hyperlink?

a)

<a url="https://www.google.com"> OpenGoogle</a>

b)

<a href="https://www.google.com"> </a>

c)

<a href="https://www.google.com"> OpenGoogle <a>

d)

<a href="https://www.google.com"> Open Google </a>

32.

Which of the following is the correct HTML syntax for inserting an image ?

a)

<image src="apple.jpg">

b)

<img ="apple.jpg">

c)

<img src="apple.jpg">

d)

<img>apple.jpg</img>

33.

Which is not an attribute of IMG

a)

Width

b)

<href>

c)

Src

d)

Alt

34.

Which is the proper way to write an h1 tag ?

a)

<h1>Hello</h1>

b)

<h1>Hello<h1>

c)

<h1>"Hello

d)

{h1}Hello{/h1}

35.

Which is not an attribute of body tag ?

a)

text

b)

bgcolor

c)

background

d)

size

36.

Which sequence of HTML tags is correct?

a)

<html><head><title></title></head><body></body></html>

b)

<html><head><title><body></title></head></body></html>

c)

<html><head><title></head><body></body></title></html>

d)

<html><head><title><body></body></title></head></html>

37.

Which is not a tag ?

a)

<body>

b)

<Src>

c)

<Li>

d)

<BR>

38.

( type="A" ) is the attribute of ...............tag.

a)

<OL>

b)

<DL>

c)

<LI>

d)

<UL>

39.

<Th> tag used in ...........

a)

Image

b)

Oder list

c)

Table

d)

None of these

40.

TD stands for ..................

a)

title data

b)

title document

c)

title docs

d)

table data

41.

It is used to specify amount of spacing between cell border and cell content.

a)

Cell spacing

b)

cell padding

c)

Cell sizer

d)

cell width

42.

It is used to specify amount of spacing between two adjacent cells.

a)

Cell Padding

b)

Cell Spacing

c)

Cell Adjuster

d)

Cell increase

43.

Which syntax is correct to apply border around the table & cells

a)

<table-border="2">

b)

<table border="2">

c)

<table "border"=2>

d)

<table cell border="2">

44.

Which tag is used to create fields in a table ?

a)

<tr>

b)

<td>

c)

<th>

d)

<field>

45.

Which is not a table attribute ?

a)

Cell Padding

b)

Cell Spacing

c)

Table color

d)

Border

46.

The.................... tag is used to add a short descriptive text or caption that placed above a table.

a)

<table header>

b)

<cell header>

c)

<caption>

d)

<none of these>

47.

Which is used to make a single cell span across multiple rows in a table

a)

Colspan

b)

Rowspan

c)

Cellspan

d)

Columnspan

48.

It is used to make a single cell span across multiple column in a table

a)

Colspan

b)

Rowspan

c)

Cellspan

d)

Fieldspan

49.

correct syntax of comment tag is ..............

a)

< insert comment here >

b)

< insert comment here !>

c)

<! insert comment here >

d)

<!! insert comment here >

50.

.......... attribute of an image specifies alternate text, that will be displayed if the image cannot be displayed for any reason.

a)

alt

b)

alternate

c)

text

d)

none of these

51.

By default <UL> type attributes is .....................

a)

Square

b)

Disc

c)

Circle

d)

Oval

52.

By default <OL> type is .................

a)

A

b)

a

c)

i

d)

1

e)

I

53.

There are two attributes of <OL>

a)

"Squre" , "Disc"

b)

"Type" , "Start"

c)

None of these

d)

"Start" , "Stop"

54.

  Assertion: HTML considers Uppercase & Lowercase letters as same.

Reason: HTML is not a case sensitive language.                                                                       

a)

Both (A) and (R) are correct and (R) is correct explanation of (A).

b)

Both (A) and (R) are correct and (R) is not the correct explanation of (A).

c)

(A) is true but (R) is false.

d)

(A) is false but (R) is true.

55.

Assertion: The ul element is used to create an ordered list in HTML.                                                           

Reason: the ul element stands for “unordered list” and is used to create a bulleted list in HTML

a)

Both (A) and (R) are correct and (R) is correct explanation of (A).

b)

Both (A) and (R) are correct and (R) is not the correct explanation of (A).

c)

(A) is true but (R) is false.

d)

(A) is false but (R) is true.

56.

Assertion : <img> tag is require just a starting tag and not  an ending tag. 

Reason : In HTML <IMG> tag is an empty tag.

 

a)

Both (A) and (R) are correct and (R) is correct explanation of (A).

b)

Both (A) and (R) are correct and (R) is not the correct explanation of (A).

c)

(A) is true but (R) is false.

d)

(A) is false but (R) is true.

57.

Assertion : The anchor tag <a> is used to create hyperlinks in a web document.

Reason : The primary purpose of an anchor tag is to insert image in a webpage.

a)

Both (A) and (R) are correct and (R) is correct explanation of (A)

b)

Both (A) and (R) are correct and (R) is not the correct explanation of (A).

c)

(A) is true but (R) is false.

d)

(A) is false but (R) is true.

58.

Assertion : HTML is a Markup language.

Reason : HTML is used to structure or format text with the help of predefined tags.



a)

Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).

b)

Both Assertion (A) and Reason (R) are true but Reason (R) is not a correct explanation of Assertion (A).

c)

(c) Assertion (A) is true and Reason (R) is false.

d)

(d) Assertion (A) is false and Reason (R) is true.

59.

    

The .................attribute of the anchor tag can be used to  “jump” to a specific point on a page.

a)

name

b)

href

c)

alt

d)

title

60.

.................attribute of anchor tag provides text that will be displayed when the user mouse over a link

a)

name

b)

alt

c)

title

d)

href

61.

<! .....................>

is used to insert ....................

a)

comment

b)

heading

c)

paragraph

d)

message

62.

(A) Comments are not displayed in the web browser.  

(B) Comments are visible to anyone who views the page source code.

a)

Both (A) and (B ) Statements are True

b)

Both (A) and (B ) Statements are False

c)

Statement (A) is True and Statement (B) is False

d)

Statement (A) is False and Statement (B) is True

63.

<ol Type "A">
       <li>Coffee</li>
  <li>Tea</li>
   <li>Milk</li>

</ol>

According to this coding which option given below is correct ?

a)
  1. 1 Coffee

  2. 2 Tea

  3. 3 Milk

b)
  1. A Coffee

  2. B Tea

  3. C Milk

c)
  1. i Coffee

  2. ii Tea

  3. iii Milk

64.

This table is an example of............

a)

row span

b)

col span

65.

This table is an example of ...................

a)

Row Span

b)

Col Span

c)

None of these

66.

Which is given below not an attribute of <TR>

a)

Align

b)

Width

c)

Height

d)

Border

67.

Which is given below not an attribute of <TD> in HTML table

a)

bgcolor

b)

rowspan

c)

colspan

d)

height

68.

Which is given below not an attribute of a Table in HTML ?

a)

Border

b)

Cell Padding , Cell Spacing

c)

Alt

d)

Width

e)

Align

69.

Which statement is false :-

Statement (A) : Cell Padding   is used to specify amount of spacing between cell border and cell content.

Statement (B) : Bgcolor is used to set the border color of the table.

Statement (C) : Cell Spacing is used to specify amount of spacing between two adjacent cells.

a)

Statement (A)

b)

Statement (B)

c)

Statement (C)

d)

All statements are True

70.

Which statement is false :-

Statement (A) : "Src" is a necessary attribute that describes the source or path of the image..

Statement (B) : "Alt" Specifies alternate text that will be displayed if the image cannot be displayed for any reason.

Statement (C) : "Align"- Positions the image vertically such as left, right and Left is default align for image.

a)

Statement A is false

b)

Statement B is false

c)

Statement C is false

d)

All Statements are TRUE

71.

Which is given below not an attribute of Font ?

a)

Size

b)

Color

c)

Face

d)

Style

72.

Which is given below not an attribute of Body ?

a)

bgcolor

b)

text

c)

background

d)

size

73.

Which is correct sequence of tags in description list?

a)

<DL><DT></DT><DD></DD></DL>

b)

<DL></DL><DT></DT><DD></DD>

c)

<DL><DT><DD></DD></DT></DL>

d)

<DL><DD></DD><DT></DT></DL>

74.

<dd> stands for .....................

a)

description definition

b)

description default

c)

description determination

d)

description define

75.

<dt> stands for .............

a)

description term

b)

description title

c)

description time

d)

description termination

76.

The ................. attribute of the anchor tag can be used to  “jump” to a specific point or paragraph on a webpage. This is especially useful with large webpages or subdivisions.

a)

Name

b)

Href

c)

Link

d)

Title

77.

.............. is attribute of anchor tag that provide text that will be displayed when the user mouse over a link

a)

Title

b)

href

c)

alt

d)

link

78.

Which is given below is not an attribute of Anchor tag ?

a)

href

b)

title

c)

name

d)

link

79.

Which special character used in name attribute of Anchor tag ?

a)

#

b)

@

c)

$

80.

Which is correct coding statement ?

a)

<a href="#Internet">Internet </a>

b)

<a href="@Internet">Internet </a>

c)

<a href="#Internet">Internet <a>

d)

<a href="$Internet">Internet </a>