Quizes & Games

HTML Quiz

The test contains 20 questions and it's not official, it's just a nice way to see how much you know, or don't know, about HTML.

1.

Target=_blank specifies that a

the page will shut down.
the page is defined as a target and will be found by the arrow command.
when clicking a link, it will open in a new window.
window will open blank.

2.

Which of the following examples shows correctly nested HTML elements?

<html><head><body></html></head></body>
<html><head><head><body><body><html>
<html><head></head><body></body></html>
<html></html><head></head><body></body>

3.

What is cell padding?

Both a and b above
Used to provide width to a cell
Used to set space between cells
Used to separate cell walls from their contents.

4.

Which of the following will display a password field in a form?

<input type="pass" name="pwd" />
<input type="text" name="pwd" />
<input type="password" name="pwd" />
<input password="password"/>

5.

To add rows to your tables use which tags?

<cr> </cr>
<tr> </tr>
<td> </td>
<row> </row>

6.

What is the <hr> tag used for?

For creating straight horizontal lines
For drawing high lines
For creating circles
For creating vertical lines

7.

What tag is used to create an unordered list?

<ol>
<ulist>
<li>
<ul>

8.

HTML has a set of rules under which it operates. What is it called?

Dialog
Laws
Syntax
Tags

9.

Title

 

Which tag will produce HTML Quiz  in this picture?

<top>HTML Quiz </top>
<head>HTML Quiz </head>
<H1>HTML Quiz </H1>
<title>HTML Quiz </title>

10.

What does HTML  stand for?

Holy Text Many Languages
Hyper Text Markup Language
Home Tool Markup Language
Hyperlinks and Text Markup Language

11.

What is the correct format for inserting an image?

<img href="photo.jpg">
<img>photo.jpg</img>
<img src="photo.jpg">
<image src="photo.jpg">

12.

Which of these tags are all <table> tags?

<table><head><tfoot>
<table><tr><td>
<table><tr><tt>
<thead><body><tr>

13.

What is the correct HTML for creating a hyperlink?

<a url="http://www.j100coders.com">j100coders.com</a>
<a href="http://www.j100coders.com">j100coders</a>
<a name="http://www.j1ocoders.com">j1oocoders.com</a>
<a>http://www.j100coders.com</a>

14.

Should HTML be used to design and style a website?

Maybe
No
None of the above
Yes

15.

Between which tags does most of the contents needs to be placed?

<title></title>
<head></head>
<body></body>
<text></text>

16.

Title, meta and link elements are all located inside what element?

The Head Element
The Body Element
The Form Element
The Div Element

17.

Which section is used for text and tags that are shown directly on your web page ?

Head
Body
Title
Metatags

18.

The attribute used to choose the type of font in HTML is ?

Text-type
Character
Face
Font-type

19.

What is the <td></td> element?

a table description
a tabular distortion
a table data cell
a table head cell

20.

How do you add a comment into HTML?

<!--Comment-->
<--Comment-->
<-Comment->
<Comment/>