You are on page 1of 6

1. What does HTML stand for?

Home Tool Markup Language


A.
Hyper Text Markup Language

Hyperlinks and Text Markup Language

2. Who is making the Web standards?

Mozilla

Microsoft

The World Wide Web Consortium

3. Choose the correct HTML tag for the largest heading

<heading>

<h6>

<head>

<h1>
B.

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

<break />

<lb />

<br />

5. What is the preferred way for adding a background color in HTML?

<background>yellow</background>

<body background="yellow">
<body style="background-color:yellow">
6. Choose the correct HTML tag to make a text bold

<b>

<bold>

7. Choose the correct HTML tag to make a text italic

<i>

<italic>

8. What is the correct HTML for creating a hyperlink?

<a
url="http://www.w3schools.com">W3Schools.com</a>
<a
name="http://www.w3schools.com">W3Schools.com</a>
<a>http://www.w3schools.com</a>

<a href="http://www.w3schools.com">W3Schools</a>

9. Which of these tags are all <table> tags?

<table><tr><tt>

<thead><body><tr>

<table><tr><td>

<table><head><tfoot>

10. Choose the correct HTML to left-align the content


inside a tablecell

<tdleft>

<td valign="left">

<td align="left">

<td leftalign>
11. How can you make a list that lists the items with
numbers?

<list>

<dl>

<ol>

<ul>

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

<dl>

<list>

<ol>

<ul>

13. What is the correct HTML for inserting a background image?

<body background="background.gif">

<background img="background.gif">

<imgsrc="background.gif" background />

14. What is the correct HTML for inserting an image?

<img src="image.gif" alt="MyImage" />

<imghref="image.gif" alt="MyImage" />

<img alt="MyImage">image.gif</img>

<image src="image.gif" alt="MyImage" />

15. Is .htm and .html the same?


No

Yes
16. What does CSS stand for?

Computer Style Sheets

Colorful Style Sheets

Cascading Style Sheets

Creative Style Sheets

17. What is the correct HTML for referring to an external style sheet?

<stylesheet>mystyle.css</stylesheet />

<style src="mystyle.css" />

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

18. Where in an HTML document is the correct place to refer to an external style sheet?

In the <body> section

In the <head> section

At the end of the document

At the top of the document

19. Which HTML tag is used to define an internal style sheet?

<css>

<script>

<style>
20. Which is the correct CSS syntax?

body {color: black}

{body:color=black(body}

body:color=black

{body;color:black}

21. Which property is used to change the background color?

bgcolor:

background-color:

color:

22. How do you add a background color for all <h1> elements?

h1 {background-color:#FFFFFF}

all.h1 {background-color:#FFFFFF}

h1.all {background-color:#FFFFFF}

23. How do you change the text color of an element?

fgcolor:

text-color:

text-color=

color:
24. Which CSS property controls the text size?

font-style

text-size

text-style

font-size

25. How do you make each word in a text start with a capital letter?

text-transform:capitalize

You can't do that with CSS

text-transform:uppercase

You might also like