You are on page 1of 4

1.

A.
B.
C.

What does HTML stand for?

Hyper Text Markup Language


Home Tool Markup Language
Hyperlinks and Text Markup Language
Who is making the Web standards?
2.
Mozilla
Microsoft
The World Wide Web Consortium

A.
B.
C.

3.

Choose the correct HTML tag for the largest heading


Head

A.
B.
C.
D.

H1
H6
Heading

4.

What is the correct HTML tag for inserting a line break?


break /
br /br

A.
B.
C.
D.
E.

lb /
br /
br/

5.

Choose the correct HTML tag to make a text bold


bold

A.

B.
C.

bb

6.

Choose the correct HTML tag to make a text italic


Italic

A.
B.
C.

I
It

7.

A.
B.
C.
D.

What is the correct HTML for creating a hyperlink?


A url="http://www.w3schools.com">W3Schools.com
A href="http://www.w3schools.com">W3Schools
A>http://www.w3schools.com
A name="http://www.w3schools.com">W3Schools.com

8.

9.
A.

How can you create an e-mail link?


Mail href="xxx@yyy.com"
Mail>xxx@yyy.com/mail
A href="xxx@yyy.com"
A href="mailto:xxx@yyy.com"

A.
B.
C.
D.

How can you open a link in a new browser window?


A href="url" target="_blank"

B.
C.
D.

A href="url" new
A href="url" target="new"
A href="url" target=_window"

10.

How can you make a list that lists the items with numbers?
Ol

A.

Dl
Ul

B.
C.
D.

List

11.

How can you make a list that lists the items with bullets?
Ul

A.
B.
C.
D.

List
Dl
Ol

12.
A.
B.
C.
D.

What is the correct HTML for inserting an image?


Img alt="MyImage" image.gif /img
Image src="image.gif" alt="MyImage"
Img src="image.gif" alt="MyImage"
Img href="image.gif" alt="MyImage"

13.
A.
B.
C.
D.

Ol
Ul
Dl
Lists have to have numbers or bullets

14.
A.
B.
C.
D.

How can you make a list that lists the items without bullets or numbers?

What is the name of every homepage on the WWW?

Home.html
Index.html
Anything you want it to be.html
The name of your website.html

15.

The is doctype mandatory.


True
False

A.
B.

16.
A.
B.
C.
D.

What does CSS stand for?


Creative Style Sheets
Colorful Style Sheets
Computer Style Sheets
Cascading Style Sheets

17. What is the correct HTML for referring to an external style sheet?
A.
Stylesheetmystyle.css/stylesheet /
B. Link rel="stylesheet" type="text/css" href="mystyle.css"
C.
Style src="mystyle.css" /
18.
A.
B.

Which is the correct CSS syntax?


Body:color=black
{body;color:black}

{body:color=black(body}
Body {color: black}

C.
D.

19.

20.

21.

How do you change the text color of an element?


Color:
Text-color=
Text-color:
Fgcolor:

A.
B.
C.
D.

23.
A.
B.
C.
D.

24.
A.
B.
C.
D.

25.

Which CSS property controls the text size?


Font-style
Text-style
text-size
text-size
Font-size
What is the correct CSS syntax for making all the elements bold?
P {font-weight:bold}
P style="text-size:bold"
P {text-size:bold}
P style="font-size:bold">
How do you display hyperlinks without an underline?

A {text-decoration:none}
A {text-decoration:no underline}
A {decoration:no underline}
A {underline:none}

26.

How do you change the font of an element?


Font-family:

A.
B.
C.

F:
Font=

27.
A.
B.
C.

How do you add a background color for all elements?

H1 {background-color:#FFFFFF}
H1.all {background-color:#FFFFFF}
All.h1 {background-color:#FFFFFF}

22.

A.
B.
C.
D.

Which property is used to change the background color?


Bgcolor:
Background-color:
Color:

A.
B.
C.

A.
B.
C.

How do you insert a comment in a CSS file?


' this is a comment
/* this is a comment */
// this is a comment
// this is a comment //

A.
B.
C.
D.

How do you make the text bold in CSS?


Font-weight:bold
Style:bold
Font:b

28.
A.
B.
C.
D.

How do you change the left margin of an element?


Margin-left:
Text-indent:
Margin:
Indent:

29. To define the space between the element's border and content, you use the padding
property, you are allowed to use negative values?
True
False

A.
B.

30.

31.
A.
B.
C.
D.

How do you make a list that lists its items with squares?
Type: square
List-type: square
Type: 2
List-style-type: square

A.
B.
C.
D.

Where in an HTML document is the correct place to refer to an external style sheet?
In the head section
At the end of the document
At the top of the document
In the body section

You might also like