wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML CSS

Total questions: 15

Worksheet time: 6mins

Name
Class
Date
1.
Which of the following is correct about RGB Values format of CSS colors?
a)
This color value is specified using the rgb( ) property.
b)
This property takes three values, one each for red, green, and blue.
c)
The value can be an integer between 0 and 255 or a percentage.
d)
�All of the above.
2.
Which of the following property is used as a shorthand to specify a number of other background properties?
a)
background-attachment
b)
background
c)
background-repeat
d)
background-position
3.
Which of the following property is used as shorthand to specify a number of other font properties?
a)
font-size
b)
�font
c)
font-variant
d)
font-weight
4.
Which of the following property of a anchor element signifies an element that currently has the user's mouse pointer hovering over it?
a)
:link
b)
:visited
c)
�:hover
d)
:active
5.
Which of the following property changes the color of left border?
a)
:border-top-color
b)
:border-left-color
c)
:border-right-color
d)
�:border-bottom-color
6.
�Which of the following property specifies the bottom margin of an element?
a)
:margin
b)
:margin-bottom
c)
:margin-top
d)
:margin-left
7.
Which of the following property specifies the top padding of an element?
a)
padding-bottom
b)
padding-top
c)
padding-left
d)
padding-right
8.
�Which of the following selector matches a element based on its id?
a)
The Id Selector
b)
�The Universal Selector
c)
The Descendant Selector
d)
The Class Selector
9.
Which of the following property is used to underline, overline, and strikethrough text?
a)
text-indent
b)
�text-align
c)
�text-decoration
d)
�text-transform
10.
What is the correct HTML for adding a background color?
a)
<body color=”yellow”>
b)
<body bgcolor=”yellow”>
c)
<background>yellow</background>
d)
<body background=”yellow”>
11.
Choose the correct HTML tag for the smallest size heading?
a)
<heading>
b)
<h6>
c)
 <h1>
d)
<head>
12.
What is the correct HTML tag for inserting a line break?
a)
<br>
b)
<lb>
c)
<break>
d)
<newline>
13.
�HTML document start and end with which tag pairs?
a)
<HEAD>….</HEAD>
b)
<BODY>….</BODY>
c)
<HTML>….</HTML>
d)
<WEB>….</WEB>
14.
"Yahoo", "Infoseek" and "Lycos" are _________?
a)
Search Engines
b)
Browsers
c)
News groups
d)
None of the above
15.
What does the .com domain represents?
a)
Education domain
b)
Commercial domain
c)
Network
d)
None of the above