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 preferred way for adding a background color in HTML?

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

2.

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

Head
Body
Title
Metatags

3.

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

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

4.

Who is making the Web standards?

Mozilla
Microsoft
Google
The World Wide Web Consortium

5.

To add rows to your tables use which tags?

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

6.

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

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

7.

What tag is used to create an unordered list?

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

8.

Which of these tags are all <table> tags?

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

9.

Why are hidden form fields useful?

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

10.

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

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

11.

Target=_blank specifies that a

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

12.

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

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

13.

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

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

14.

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>

15.

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>

16.

Should HTML be used to design and style a website?

None of the above
Yes
No
Maybe

17.

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

Text-type
Face
Character
Font-type

18.

If the background image is smaller than the screen, what will happen ?

It will hide
It will leave a blank space at the bottom of your page
It will repeat it self
It will stretch

19.

What is the correct HTML for making a checkbox?

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

20.

How can you open a link in a new tab/browser window?

<a href="url" target="new">
<a href="url" target="_blank">
<a href="url" target="_self">
<a href="url" new>