wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Website Development Quiz

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

What does HTML stand for?

a)

HyperText Markup Language

b)

Home Tool Markup Language

c)

Hyperlinks and Text Markup Language

d)

HyperText Makeup Language

2.

A webpage displays a picture. What tag was used to display that picture?

a)

picture

b)

image

c)

img

d)

src

3.

3. <b> tag makes the enclosed text bold. What is other tag to make text bold?

a)

A. <strong>

b)

B. <dar>

c)

C. <black>

d)

D. <emp>

4.

Tags and test that are not directly displayed on the page are written in _____ section.

a)

A. <html>

b)

B. <head>

c)

C. <title>

d)

C. <title>

5.

Which tag inserts a line horizontally on your web page?

a)

A. <hr>

b)

B. <line>

c)

C. <line direction="horizontal">

d)

D. <tr>

6.

What should be the first tag in any HTML document?

a)

A. <head>

b)

B. <title>

c)

C. <html>

d)

D. <document>

7.

Which tag allows you to add a row in a table?

a)

A. <td> and </td>

b)

B. <cr> and </cr>

c)

C. <th> and </th>

d)

D. <tr> and </tr>

8.

How can you make an e-mail link?

a)

A. <a href="xxx@yyy">

b)

B. <mail href="xxx@yyy">

c)

C. <mail>xxx@yyy</mail>

d)

D. <a href="mailto:xxx@yyy">

9.

What is the correct HTML for making a hyperlink?

a)

A. <a href="http:// mcqsets.com">ICT Trends Quiz</a>

b)

B. <a name="http://mcqsets.com">ICT Trends Quiz</a>

d)

D. <a url="http://mcqsets.com">ICT Trends Quiz</a>

10.

What is the correct HTML for adding a background color?

a)

A. <body color="yellow">

b)

B. <body bgcolor="yellow">

c)

C. <background>yellow</background>

d)

D. <body background="yellow">

11.

Choose the correct HTML tag to left-align the content of a cell.

a)

A. <tdleft>

b)

B. <td leftalign>

c)

C. <td valign= “left”>

d)

D. <td align= “left”>

12.

Which tag is used to lists the items with bullets?

a)

A. <bullet>…</bullet>

b)

B. <list>…</list>

c)

C. <ul>…</ul>

d)

D. <ol>…</ol>

13.

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

a)

src

b)

alt

c)

title

d)

longdesc

14.

             creates a generic block level element.

a)

A. <section>

b)

B. <span>

c)

C. <div>

d)

D. <class>

15.

To create a table cell that spans two rows and three columns at the same time, you enter the <td> tag as        

a)

A. <td rows=“2” cols=“3”>

b)

B. <td span=“2,3”>

c)

C. <td span=“3,2”>

d)

D. <td rowspan=“2” colspan=“3”>

16.

What is CSS stands for?

a)

Cascading Style Sheets

b)

Cascade Style Sheet

c)

Color Style Sheets

d)

Color Style Sheet

17.

What is the correct syntax for referring an external CSS?

a)

A. <link rel="stylesheet" type="text/css" href="mystyle.css">

b)

B. <stylesheet rel="stylesheet" type="text/css" href="mystyle.css">

c)

C. <style rel="stylesheet" type="text/css" href="mystyle.css">

d)

D. All of the above

18.

CSS comments are placed within the ______.

a)

A. //

b)

B. /* and */

c)

C. <* and *>

d)

D. <! And !>

19.

Can comments also span multiple lines?

a)

Yes

b)

No

20.

Which property is used to define the text color?

a)

text-color

b)

color

c)

font-color

d)

Both A. and B.

21.

Which property is used to define the background color?

a)

bgcolor

b)

bg-color

c)

background

d)

background-color

22.

From the given options which is/are the valid way to represent a color?

a)

A valid color name like "blue"

b)

HEX code like "#0000ff"

c)

RGB Value like "rgb(0,0,255)"

d)

All of the above

23.

Which property is used to define the font of the element's text?

a)

font

b)

font-family

c)

font-style

d)

All of the above

24.

To make a text italic, which CSS property is used?

a)

font

b)

font-family

c)

font-style

d)

All of the above

25.

What are the valid values of font-style property?

a)

italic, bold, bolder

b)

normal, bold, italic

c)

underline, bold, italic

d)

inherit, italic, normal, oblique

26.

Why font-weight property is used?

a)

A. Sets how thick or thin characters in text should be displayed.

b)

B. Sets the size of the font

c)

C. Both A. and B.

d)

D. None of the above

27.

What is/are the correct value(s) of font-weight property?

a)

bold, italic, underline

b)

normal, bold, italic

c)

normal, bold, bolder, lighter, initial, and inherit

d)

None of the above

28.

Which is the correct inline CSS for p tag to define paragraph's text and background colors?

a)

A. <p css="color: red; background-color: yellow;">

b)

B. <p cssstyle="color: red; background-color: yellow;">

c)

C. <p inline="color: red; background-color: yellow;">

d)

D. <p style="color: red; background-color: yellow;">

29.

What is the correct syntax of border property in CSS?

a)

border: border-width border-style border-color

b)

border: border-color border-width border-style

c)

border: border-style border-width border-color

d)

All of the above

30.

Which of the following is the correct syntax to display the hyperlinks without any underline?

a)

a {text-decoration : underline;}

b)

a {text-decoration : none;}

c)

a {text-decoration : block;}

d)

None of the above

31.

Which of the following is the correct syntax to remove the underline on hyperlinks and visited hyperlinks?

a)

a {text-decoration : underline;}, a:visited {text-decoration : underline;}

b)

a {text-decoration : block;}, a:visited {text-decoration : block;}

c)

a {text-decoration : none;}, a:visited {text-decoration : none;}

d)

None of the above

32.

Which CSS property is used to style the hyperlinks on hover (Mouse over)?

a)

a:mouseover

b)

a:move

c)

a:mover

d)

a:hover

33.

If you want to use a green dotted border around an image, which CSS property is used for that?

a)

A. border-style

b)

B. border-color

c)

C. border-decoration

d)

Both A. and B.

34.

Which CSS property and value is used to center an element?

a)

text-align:center

b)

align:center

c)

text-align:middle

d)

align:middle

35.

What are the valid values of text-align property?

a)

left, middle, right

b)

left, center, right

c)

left, center, right, justify

d)

left, middle, right, justify

36.

What is the use of "text-align:justify" in CSS?

a)

Stretches the lines so that each line has equal width

b)

Stretches the lines so that each line can be arranged in left alignment

c)

Stretches the lines so that each line can be arranged in right alignment

d)

None of the above

37.

Which CSS property is used to specify the indentation of the first line of a text?

a)

text-align

b)

padding-left

c)

margin-left

d)

text-indent

38.

Which CSS property is used to specify the space between the characters in a text?

a)

text-space

b)

letter-space

c)

letter-spacing

d)

letter-distance

39.

Which is the correct CSS statement to define multiple font families?

a)

font: "Times New Roman", Times, serif;

b)

font-name: "Times New Roman", Times, serif;

c)

font-family: "Times New Roman, Times, serif";

d)

font-family: "Times New Roman", Times, serif;

40.

Which CSS property specifies the type of list item marker?

a)

list-style

b)

list-style-type

c)

list-style-circle

d)

list-style-square