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 a block level element?

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

2.

What does it mean when tags or attributes are said to be deprecated?

They are used for text formatting only
They are used in only HTML.
They only work in special browsers
They have become outdated and may become obsolete in the future

3.

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

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

4.

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

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

5.

What is the correct HTML for creating a hyperlink?

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

6.

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

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

7.

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

Character
Font-type
Face
Text-type

8.

What is the correct tag for the smallest heading?

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

9.

What is the correct HTML for making a checkbox?

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

10.

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

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

11.

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

Syntax
Laws
Dialog
Tags

12.

Who is making the Web standards?

Mozilla
The World Wide Web Consortium
Google
Microsoft

13.

What is the proper syntax of a form submit button?

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

14.

Title

 

Which tag will produce HTML Quiz  in this picture?

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

15.

How do you add a comment into HTML?

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

16.

Which of these tags are all <table> tags?

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

17.

Which of the following examples shows correctly nested HTML elements?

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

18.

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

inline elements
paragraphs
headings
addresses

19.

Should HTML be used to design and style a website?

No
Yes
None of the above
Maybe

20.

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

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