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 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>

2.

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

Tags
Dialog
Laws
Syntax

3.

Which of the following examples shows correctly nested HTML elements?

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

4.

What is the correct HTML for creating a hyperlink?

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

5.

Which of these tags are all <table> tags?

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

6.

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

Title
Metatags
Body
Head

7.

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

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

8.

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

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

9.

What is the proper syntax of a form submit button?

<input type="submit" />
<input type="button" />
<input type="go" />
<input="submit" />

10.

Title

 

Which tag will produce HTML Quiz  in this picture?

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

11.

What is the correct HTML for making a text area?

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

12.

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

Face
Character
Text-type
Font-type

13.

Which of the following is a valid color code.

505050
&505050
#505050
$505050

14.

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

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

15.

Target=_blank specifies that a

the page will shut down.
window will open blank.
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.

16.

What is the correct HTML for making a drop-down list?

<input type="list">
<select>
<input type="dropdown">
<list>

17.

What is the correct tag for the smallest heading?

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

18.

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

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

19.

How do you add a comment into HTML?

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

20.

What is the correct HTML for making a checkbox?

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