wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Quizz-01

Total questions: 75

Worksheet time: 48mins

Name
Class
Date
1.

What is HTML?

a)

HTML describes the structure of a webpage

b)

HTML is the standard markup language mainly used to create web pages

c)

HTML consists of a set of elements that helps the browser how to view the content

d)

All of the mentioned

2.

Who is the father of HTML?

a)

Rasmus Lerdorf

b)

Tim Berners-Lee

c)

Brendan Eich

d)

Sergey Brin

3.

What is the correct syntax of doctype in HTML5?

a)

</doctype html>

b)

<doctype html>

c)

<doctype html!>

d)

<!doctype html>

4.

In which part of the HTML metadata is contained?

a)

head tag

b)

title tag

c)

html tag

d)

body tag

5.

Which element is used to get highlighted text in HTML5?

a)

<u>

b)

<mark>

c)

<highlight>

d)

<b>

6.

Which of the following is not a HTML5 tag?

a)

<track>

b)

<video>

c)

<slider>

d)

<source>

7.

How do we write comments in HTML?

a)

</…….>

b)

<!……>

c)

</……/>

d)

<…….!>

8.

Which of the following is not the element associated with the HTML table layout?

a)

alignment

b)

color

c)

size

d)

spanning

9.

Which element is used for or styling HTML5 layout?

a)

CSS

b)

jQuery

c)

JavaScript

d)

PHP

10.

Which HTML tag is used to insert an image?

a)

<img url=”htmllogo.jpg” />

b)

<img alt=”htmllogo.jpg” />

c)

<img src=”htmllogo.jpg” />

d)

<img link=”htmllogo.jpg” />

11.

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

a)

<a href="https://www.adityatekkali.edu.in/">AITAM Home Page</a>

b)

<img src="https://www.adityatekkali.edu.in/aitam-logo">

<a href="https://www.adityatekkali.edu.in/">AITAM Home Page</a>

</img>

c)

<a href="https://www.adityatekkali.edu.in/">AITAM Home Page</a> <img src="https://www.adityatekkali.edu.in/AITAM-logo" />

12.

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”

13.

Which HTML element is used for short quote?

a)

<em>

b)

<abbr>

c)

<q>

d)

<blockquote>

14.

What is the work of <address> element in HTML5?

a)

contains IP address

b)

contains home address

c)

contains url

d)

contains contact details for author

15.

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” />

16.

To show deleted text, which HTML element is used?

a)

<del>

b)

<em>

c)

<strong>

d)

<ins>

17.

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

18.

Which tag is used to create a blank line in HTML?

a)

<b>

b)

<br>

c)

<em>

d)

<a>

19.

Which attribute is not essential under <iframe>?

a)

frameborder

b)

width

c)

height

d)

src

20.

Group of webpages is called _____.

a)

Website

b)

Web browser

c)

Web Search engine

d)

None of the above

21.

In a form, a drop-down list of options

a)

begins with a select tag followed by a list of option tags.

b)

begins with an option tag followed by a list of select tags.

c)

begins with a select tag followed by a list of datalist tags.

d)

begins with a datalist tag followed by a let of option tags.

22.

How more than one option can be selected in drop down?

a)

Use of multiple attribute inside <option> tag.

b)

Use of multiple attribute inside <select> tag.

c)

Use of multiple attribute inside <text> tag.

d)

It is not possible to select more than one option in drop down.

23.

Which portion of this tag is the text that will show up if there is a problem with my photo link?


<img src="cat.jpeg" alt="cat jumping"/>

a)

img src=

b)

cat.jpeg

c)

cat jumping

d)

alt=

24.

<input type="___________" name="gender" value="male"> Male

<input type="___________" name="gender" value="female">Female


(Fill the type of input which used to select just one option.)

(a)  

25.

This is also a single-line text input but it masks the character as soon as the user enters

a)

Single line text input

b)

Multi line text input

c)

Password input controls

d)

Checkbox controls

26.

There are (a)   types of text input used on forms

27.

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

28.

Which tag used to groups the related element in a form.

a)

<input>

b)

<optgroup>

c)

<legend>

d)

<fieldset>

29.

Which following element contains data that isn't directly displayed on a web page? But could be displayed somewhere else other than the web page? (think outside the web page itself).

a)

<title>Example<title>

b)

<h ref=>

c)

<body>

d)

<br>

30.

Which of the following code is in the proper order to display the Site Title: Brown Bears?

a)

<html>, <body>, <head>, <title>

b)

<DOC TYPE! html>, <html>, <body>, <head>, <title>

c)

<!DOC TYPE html>, <html>, <body>, <head>, <title>

d)

<!DOC TYPE html>, <body>, <html>, <head>, <title>

31.

Can an ordered list and or an unordered list contain the anchor tag?

a)

Yes

b)

No

32.

Which of the following <h> tags will have the highest number , with the smallest font size?

a)

<h1>

b)

<h2>

c)

<h3>

d)

<h4>

e)

h10

33.

Who is making the Web standards?

a)

Microsoft

b)

The World Wide Web Consortium

c)

Google

d)

Mozilla

34.

What is the correct HTML for creating a hyperlink?

a)

<a>http://www.mitujjain.ac.in</a>

b)

<a url="http://www.mitujjain.ac.in">MITUJJAIN</a>

c)

<a name="http://www.mitujjain.ac.in">MITUJJAIN</a>

d)

<a href="http://www.mitujjain.ac.in">MITUJJAIN</a>

35.

Which character is used to indicate an end tag?

a)

/

b)

*

c)

&

d)

^

36.

Whose is the father of WORLD WIDE WEB

a)

John T. Thomson

b)

Denis Ritchie

c)

Tim Berners-Lee

d)

None of the above

37.

Which of the following tags is used to make a portion of text italic in HTML?

a)

<italic>

b)

<style="i">

c)

<i>

d)

<style="italic">

38.

Which among the following is correct HTML code for making a checkbox?

a)

<checkbox>

b)

<input type="checkbox">

c)

<check>

d)

<input type="check">

39.

HTML tags are surrounded by______brackets.

a)

Angle

b)

Curly

c)

Round

d)

Square

40.

In HTML a color can be specified by using what?

a)

HEX value

b)

Color name

c)

RGB value

d)

All of these

41.

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.

42.

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

43.

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

44.

www is based on which model?

a)

A.Local-server

b)

B.Client-server

c)

C.3-tier

d)

D.None of these

45.

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

46.

Which of the following is a container?

a)

A.<SELECT>

b)

B.<BODY>

c)

C.<INPUT>

d)

D.Both (a) and (b)

47.

To create HTML page, you need

a)

A. Web browser

b)

B. Text editor

c)

C. Both A & B

d)

D. None of the above

48.

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

49.

What is a style sheet?

a)

A style sheet is used to build a consistent, transportable, and well-designed style template.

b)

To create a multicolor text on a web page

c)

It is used to define a container for navigation links

d)

It is used to define content aside from the content

50.

HTML5 is

a)

HTML+CSS3+Java Script APIs

b)

HTML+CSS1+Java Script APIs

c)

HTML+Java Script APIs

d)

HTML+CSS2

51.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
52.
Select the code below that uses CSS to configure a background color of #000000 for a web page.
a)
body { background-color: #000000; }
b)
body { bgcolor: #000000; }
c)
document { background­-page: #000000; }
d)
None of these
53.
What unit of measurement does CSS use for size?
a)
px
b)
em
c)
%
d)
All work
54.
What property changes the border for an image/table?
a)
border:
b)
border-size:
c)
border-color:
55.
Which is the correct way to format a Font Family for a paragraph? (Hint: make sure you have more than one backup font!)
a)
p { font-face: Arial, Verdana, San-Serif; }
b)
p { font-family: Arial, Verdana, San-Serif; }
c)
p { family-font: Arial, Verdana, San-Serif; }
d)
p { font: Arial, Verdana, San-Serif; }
56.

Which rule set would change the font size to 24?

a)

font-size: 24

b)

size: 24;

c)

font-size: 24;

d)

font size: 24;

57.

Which CSS selector applies to the yellow element(s) only? Select the correct answers!

a)

li a{ ... }

b)

li.a{ ... }

c)

li, a{ ... }

d)

li-a{ ...}

e)

none of the above

58.

What will this rule set create?


h1 {

text-decoration: underline overline dotted red;

}

a)

red waves under the heading

b)

red dots over and under the heading

c)

red waves over and under the heading

d)

red dots over the heading

59.
Which line of code correctly places a gif image named "tiger" into a webpage?
a)
<img src="tiger" alt="BengalTiger" />
b)
<img gif=tiger alt="BengalTiger">
c)
<image source="tiger.gif" alt=BengalTiger" />
d)
<img src="tiger.gif" alt="BengalTiger" />
60.

The property in CSS used to change the background   color of an element is :-

a)

bgcolor

b)

color

c)

Background-color

d)

All of the above

61.

The CSS property used to make the rounded borders, or rounded corners around an element is

a)

border-collapse

b)

Border-radius

c)

border-spacing

d)

None of the above

62.

<input> is -

a)

a format tag.

b)

an empty tag.

c)

All of the above

d)

None of the above

63.

In a form, a drop-down list of options

a)

begins with a select tag followed by a list of option tags.

b)

begins with an option tag followed by a list of select tags.

c)

begins with a select tag followed by a list of datalist tags.

d)

begins with a datalist tag followed by a let of option tags.

64.

What HTML input type is used to create this form selections?

a)

<input type="text">

b)

<input type="submit">

c)

<input type="password">

d)

<input type="radio">

65.

What HTML input type is used to create this form checkbox?

a)

<input type="text">

b)

<input type="checkbox">

c)

<input type="password">

d)

<input type="radio">

66.

__________ provides an easy way to collect required information from web page visitors.

a)

Link

b)

Form

c)

Image

d)

None of the above

67.

Forms can be sent using one of two methods __________ or __________

a)

get or post

b)

send or receive

c)

open or close

d)

yes or no

68.

You can limit the characters a user may enter into the text field. For example date would be 4 numbers.

a)

Minimumlength

b)

Maxlength

c)

Limit

d)

Width

69.

With the ____________________ method, the values from the form are added to the end of the URL specified in the action attribute.

a)

GIF

b)

ASK

c)

Post

d)

Get

70.
Which is NOT a web browser?
a)
Chrome
b)
Internet explorer
c)
FireFox
d)
Yahoo
71.

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

72.

What should be set with text-align property so that every line has equal width like in magazines and newspapers?

a)

text-align: justify

b)

text-align: none

c)

text-align: bottom

d)

text-align: top

73.

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

a)

overline

b)

underline

c)

line-through

d)

inline

74.

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

75.

For smaller text which element is used?

a)

<tiny>

b)

<min>

c)

<small>

d)

<em>