WorksheetsWebsite Development Quiz
Total questions: 40
Worksheet time: 20mins
What does HTML stand for?
HyperText Markup Language
Home Tool Markup Language
Hyperlinks and Text Markup Language
HyperText Makeup Language
A webpage displays a picture. What tag was used to display that picture?
picture
image
img
src
3. <b> tag makes the enclosed text bold. What is other tag to make text bold?
A. <strong>
B. <dar>
C. <black>
D. <emp>
Tags and test that are not directly displayed on the page are written in _____ section.
A. <html>
B. <head>
C. <title>
C. <title>
Which tag inserts a line horizontally on your web page?
A. <hr>
B. <line>
C. <line direction="horizontal">
D. <tr>
What should be the first tag in any HTML document?
A. <head>
B. <title>
C. <html>
D. <document>
Which tag allows you to add a row in a table?
A. <td> and </td>
B. <cr> and </cr>
C. <th> and </th>
D. <tr> and </tr>
How can you make an e-mail link?
A. <a href="xxx@yyy">
B. <mail href="xxx@yyy">
C. <mail>xxx@yyy</mail>
D. <a href="mailto:xxx@yyy">
What is the correct HTML for making a hyperlink?
A. <a href="http:// mcqsets.com">ICT Trends Quiz</a>
B. <a name="http://mcqsets.com">ICT Trends Quiz</a>
D. <a url="http://mcqsets.com">ICT Trends Quiz</a>
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">
Choose the correct HTML tag to left-align the content of a cell.
A. <tdleft>
B. <td leftalign>
C. <td valign= “left”>
D. <td align= “left”>
Which tag is used to lists the items with bullets?
A. <bullet>…</bullet>
B. <list>…</list>
C. <ul>…</ul>
D. <ol>…</ol>
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
src
alt
title
longdesc
creates a generic block level element.
A. <section>
B. <span>
C. <div>
D. <class>
To create a table cell that spans two rows and three columns at the same time, you enter the <td> tag as
A. <td rows=“2” cols=“3”>
B. <td span=“2,3”>
C. <td span=“3,2”>
D. <td rowspan=“2” colspan=“3”>
What is CSS stands for?
Cascading Style Sheets
Cascade Style Sheet
Color Style Sheets
Color Style Sheet
What is the correct syntax for referring an external CSS?
A. <link rel="stylesheet" type="text/css" href="mystyle.css">
B. <stylesheet rel="stylesheet" type="text/css" href="mystyle.css">
C. <style rel="stylesheet" type="text/css" href="mystyle.css">
D. All of the above
CSS comments are placed within the ______.
A. //
B. /* and */
C. <* and *>
D. <! And !>
Can comments also span multiple lines?
Yes
No
Which property is used to define the text color?
text-color
color
font-color
Both A. and B.
Which property is used to define the background color?
bgcolor
bg-color
background
background-color
From the given options which is/are the valid way to represent a color?
A valid color name like "blue"
HEX code like "#0000ff"
RGB Value like "rgb(0,0,255)"
All of the above
Which property is used to define the font of the element's text?
font
font-family
font-style
All of the above
To make a text italic, which CSS property is used?
font
font-family
font-style
All of the above
What are the valid values of font-style property?
italic, bold, bolder
normal, bold, italic
underline, bold, italic
inherit, italic, normal, oblique
Why font-weight property is used?
A. Sets how thick or thin characters in text should be displayed.
B. Sets the size of the font
C. Both A. and B.
D. None of the above
What is/are the correct value(s) of font-weight property?
bold, italic, underline
normal, bold, italic
normal, bold, bolder, lighter, initial, and inherit
None of the above
Which is the correct inline CSS for p tag to define paragraph's text and background colors?
A. <p css="color: red; background-color: yellow;">
B. <p cssstyle="color: red; background-color: yellow;">
C. <p inline="color: red; background-color: yellow;">
D. <p style="color: red; background-color: yellow;">
What is the correct syntax of border property in CSS?
border: border-width border-style border-color
border: border-color border-width border-style
border: border-style border-width border-color
All of the above
Which of the following is the correct syntax to display the hyperlinks without any underline?
a {text-decoration : underline;}
a {text-decoration : none;}
a {text-decoration : block;}
None of the above
Which of the following is the correct syntax to remove the underline on hyperlinks and visited hyperlinks?
a {text-decoration : underline;}, a:visited {text-decoration : underline;}
a {text-decoration : block;}, a:visited {text-decoration : block;}
a {text-decoration : none;}, a:visited {text-decoration : none;}
None of the above
Which CSS property is used to style the hyperlinks on hover (Mouse over)?
a:mouseover
a:move
a:mover
a:hover
If you want to use a green dotted border around an image, which CSS property is used for that?
A. border-style
B. border-color
C. border-decoration
Both A. and B.
Which CSS property and value is used to center an element?
text-align:center
align:center
text-align:middle
align:middle
What are the valid values of text-align property?
left, middle, right
left, center, right
left, center, right, justify
left, middle, right, justify
What is the use of "text-align:justify" in CSS?
Stretches the lines so that each line has equal width
Stretches the lines so that each line can be arranged in left alignment
Stretches the lines so that each line can be arranged in right alignment
None of the above
Which CSS property is used to specify the indentation of the first line of a text?
text-align
padding-left
margin-left
text-indent
Which CSS property is used to specify the space between the characters in a text?
text-space
letter-space
letter-spacing
letter-distance
Which is the correct CSS statement to define multiple font families?
font: "Times New Roman", Times, serif;
font-name: "Times New Roman", Times, serif;
font-family: "Times New Roman, Times, serif";
font-family: "Times New Roman", Times, serif;
Which CSS property specifies the type of list item marker?
list-style
list-style-type
list-style-circle
list-style-square
