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 does HTML  stand for?

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

2.

What tag is used to create an unordered list?

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

3.

Which character entity would you use to display extra spaces on a webpage?

& space;
& amp;
& lt;
& nbsp;

4.

What is the <hr> tag used for?

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

5.

Which of the following examples shows correctly nested HTML elements?

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

6.

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

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

7.

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

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

8.

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

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

9.

Which of these tags are all <table> tags?

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

10.

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

Metatags
Title
Body
Head

11.

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

Text-type
Font-type
Character
Face

12.

One of the following statements is correct. Which one is it?

File Extensions Are Not Important
HTML Separates Style From Design
HTML Does Not Require the Use of a Server
HTML Files Can Contain PHP Code

13.

What attribute is used to specify number of rows?

rows
Rownum
Rownumb
Rowspan

14.

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

headings
inline elements
paragraphs
addresses

15.

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

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

16.

What is the correct tag for the smallest heading?

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

17.

What is the correct HTML for making a text area?

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

18.

Who is making the Web standards?

Mozilla
Microsoft
The World Wide Web Consortium
Google

19.

Why are hidden form fields useful?

because they can hold onto data for use later on
because their values are unique
because they stay out of the way
because what you don't know can't hurt you

20.

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

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