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.

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

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

2.

What is the correct HTML for making a text input field?

<textfield>
<input type="text">
<input type="textfield">
<textinput type="text">

3.

<h1> and <h3> are examples of what?

addresses
headings
paragraphs
inline elements

4.

What is the correct tag for the smallest heading?

<small>
<h1>
<h7>
<h6>

5.

Which of these tags are all <table> tags?

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

6.

What tag is used to create an unordered list?

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

7.

What is the correct HTML for creating a hyperlink?

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

8.

What attribute is used to specify number of rows?

Rownumb
Rowspan
rows
Rownum

9.

Choose the correct HTML to left-align the content inside a table cell?

<td valign="left">
<td leftalign>
<td align="left">
<tdleft>

10.

Target=_blank specifies that a

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

11.

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

Face
Font-type
Text-type
Character

12.

What is the <hr> tag used for?

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

13.

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

<body style="background-color:yellow;">
<body background="yellow">
<background>yellow</background>
<bodybackgorund="yellow";>

14.

What is a block level element?

a brightly-colored element that comes in multiple shapes ideal for stacking
an element that stands out by forces line breaks before and after itself
an element that increases other elements' visibility
an element that blends in without interrupting the flow of surrounding element

15.

What is the correct HTML for making a checkbox?

<checkbox>
<check>
<input type="checkbox">
<input type="check">

16.

What is the correct format for creating an HTML text link?

<a>http://www.j100coders.org/</a>
<a href="http://www.j100coders.org/" />
<a "http://www.j100coders.org/">J100Coders</a>
<a href="http://www.j100coders.org/">J100Coders</a>

17.

Title

 

Which tag will produce HTML Quiz  in this picture?

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

18.

What is the correct HTML for making a text area?

<textarea>
<input type="textarea">
<input type="textbox">
<input type="textfield">

19.

Which of the following tags do not make a valid HTML element?

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

20.

Which of the following is a valid color code.

$505050
&505050
#505050
505050