HTML Intermediate QuizS2C Home « HTML Intermediate Quiz

The questions in this first quiz on HTML4 are on the topics covered in the HTML4 Intermediate section of the site. The table below lists the lessons, a description of the lesson content and the the quiz question number range.

Lesson Summary

Click on a lesson in the table to go to that lesson for a refresher on the topics for that lesson.

HTML4 Intermediate Lessons Description Question Range
Lesson 1 - What is XHTML?In our first lesson of the intermediate tutorials we look at the various doctypes available in HTML 4.01 and discuss XHTML.1 - 4
Lesson 2 - More HTML StructureAdding more structure to our HTML pages.5 - 8
Lesson 3 - Formatting Text In this lesson we introduce a lot more tags that change the appearance of our text.9 - 11
Lesson 4 - Definition ListsHow to add definition lists to our HTML pages.12 - 14
Lesson 5 - More LinksLinking our HTML pages using the document <base /> tag.15 - 17
Lesson 6 - An Introduction To Tables Creating basic HTML tables using the <table>, <th>, <tr> and <td> HTML tags.18 - 20
Lesson 7 - Getting To Grips With FormsBringing user interaction to our web pages with HTML forms.21 - 24
Lesson 8 - HTML Intermediate SummaryBringing what we have learnt from these intermediate HTML4 lessons together.

HTML4 Quiz

The quiz below tests your knowledge of the material learnt in the HTML4 Intermediate section of the site.

Question 1 : What do we replace the ellipsis with in the following HMTL <!--...-->?
- We replace the ellipsis with some text as this is commonly known as the 'comment' tag and is used to describe the code that follows it.
Question 2 : What is the <!DOCTYPE> tag for?
- The <code>!DOCTYPE</code> tag lets the browser know what version of HTML/XHTML we are using.
Question 3 : Which DTD's are recommended for use in all browsers?
- The HTML 4.01 Strict, XHTML 1.0 Strict and XHTML 1.1 DTD's are recommended for use in all browsers.
Question 4 : Where should the <!DOCTYPE> tag be placed in a HTML document?
- The <code>!DOCTYPE</code> tag should be placed at the start of the HTML document before the opening <code>HTML</code> tag.
Question 5 : What is the <div> tag used for in a HTML document?
- The <code>div</code> tag is used to group blocks of HTML together.
Question 6 : What is the <span> tag used for in a HTML document??
- The <code>span</code> tag is used to group some inline HTML together.
Question 7 : What type of tags are the <div> and <span> tags?
- The <code>div</code> and <code>span</code> tags are structural tags.
Question 8 : Alone the <div> and <span> tags do nothing. What must they be used with to affect our HTML pages?
- The <code>div</code> and <code>span</code> tags must be used in conjunction with CSS.
Question 9 : Where type of tags are the <cite>, <code>, <del>, <dfn>, <ins>, <kbd>, <samp>, and <var> tags?
- These tags are formatting tags.
Question 10 : Which of the following tags allows us to format our text to look like computer code?
- The <code>code</code>, <code>samp</code>; and <code>var</code> tags all format their content to look like computer code.
Question 11 : We should always use CSS instead of the <cite>, <code>, <del>, <dfn>, <ins>, <kbd>, <samp>, and <var> tags?
- Similar effects can be achieved with a little CSS but these tags can cut down on CSS definitions and have their place in HTML.
Question 12 : Definition lists are commonly used for glossaries, lists of terms and similar lists?
- True, definition lists are commonly used for glossaries, lists of terms and similar lists.
Question 13 : Definition lists are limited to text entries?
- Definition lists can include pictures, movies and other multimedia entries.
Question 14 : We create our definition list entries using the <dt> tag?
- The <code>dt</code> tag is used to describe the defintion term, the actual defintition list entries are created using the <code>dd</code> tag.
Question 15 : What is an absolute url?
- An <em>absolute url</em> is the comnplete address for a page of a site including the protocol and server name.
Question 16 : Where can we put the <base /> HTML tag?
- The <code>base /</code> HTML tag must be placed within the <code>head</code> <code>/head</code> element.
Question 17 : What does the <base /> HTML tag allow us to do?
- The <code>base /</code> HTML tag allows us to set base URL location in our HTML documents to let us use relative URLs to point to addresses in our web pages.
Question 18 : The <tr></tr> element must be enclosed within the <th></th> element?
- The <code>tr</code> <code>/tr</code> element must be enclosed within the <code>table</code> <code>/table</code> element.
Question 19 : The <td></td> element must be enclosed within the <tr></tr> element?
- The <code>td</code> <code>/td</code> element must be enclosed within the <code>tr</code> <code>/tr</code> element.
Question 20 : The <tr></tr> element can contain both the <th> and <td> tags?
- The <code>tr</code> <code>/tr</code> element can indeed contain both the <code>th</code> and <code>td</code> tags.
Question 21 : Which HTMl tag is used to create a multiple line space for user input?
- We use the <code>textarea</code> HTML tag to create a multiple line space for user input.
Question 22 : Button, checkbox and radio are three examples of type attributes for which HTML tag?
- Button, checkbox and radio are three examples of type attributes for the <code>input /</code> HTML tag.
Question 23 : Which <form> attribute tells the browser how to submit the form data?
- The 'method' attribute tells the browser how to submit the form data.
Question 24 : Which HTML tag do we use to send the information from a form to the server.?
- We use the <code>submit</code> HTML tag to send the information from a form to the server.
Quiz Progress Bar Please select an answer

What's Next?

In the next quiz we test our knowledge of the topics covered in the HTML4 Advanced section of the site .

go to home page Homepage go to top of page Top