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.

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

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

2.

Who is making the Web standards?

Mozilla
The World Wide Web Consortium
Microsoft
Google

3.

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 blends in without interrupting the flow of surrounding element
an element that increases other elements' visibility

4.

What is the correct HTML for making a text area?

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

5.

Should HTML be used to design and style a website?

Maybe
None of the above
Yes
No

6.

What tag is used to create an unordered list?

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

7.

Which of the following is a valid color code.

$505050
&505050
#505050
505050

8.

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

Font-type
Character
Text-type
Face

9.

What is cell padding?

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

10.

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

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

11.

What is the proper syntax of a form submit button?

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

12.

What is the correct HTML for creating a hyperlink?

<a>http://www.j100coders.com</a>
<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>

13.

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

14.

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

Title
Metatags
Body
Head

15.

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

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

16.

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

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

17.

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.

18.

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>

19.

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

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

20.

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>