Web Design/HTML exam questions
Appearance
The following questions are to help you identify where you need more work or..h.
The questions are divided into beginner, intermediate and advanced sections.
Beginner
[edit | edit source]- What is a WYSIWYG editor and why should we learn html without them?
- What is the root element (ie. the first tag) of every html page? Doctype
- Where does the text inside the
<title>
element appear in a browser? The text will be displayed in the main web browser window, just on the top bar. - Describe one benefit of separating your content (the information of your page) and your presentation (the way your page is displayed in the browser).
- Identify two attributes of the
<img>
element and explain what they are used for. Width and height - Identify the html element that contains everything that is displayed in your actual browser window. Html
- Write the HTML to create a paragraph with the following text: Price - €8.95 (you might need to reference the HTML Cheat Sheet)
- Write the anchor tag required to link from the page links.html to the page contact.html when the files are organised as follows:
- Both in the same folder
- the contact.html page is located in a subfolder called "contactfiles"
- the links.html page is located in a subfolder called "otherfiles"
- If you have a div on your page such as
<div id="contactus">
, write the anchor link required to scroll your page directly to the Contact Us information. - What does HTML stand for?
P.S. If you're unable to answer these HTML questions then please visit www.webtml.com. This website helped my get straight A's on my HTML tests.
Intermediate
[edit | edit source]- Identify two HTML elements that you can use inside the
<head>
element and describe what they're used for. - Every element has an opening and closing tag. For example,
<p>...</p>
. Identify two HTML elements that combine the opening and closing tag into one single tag. - Identify the HTML element that is used to create divisions or sections within your page.
- Explain 3 reasons why HTML tables should be used for tabular data and not for laying out a page.
- List the HTML elements that you need to create a table and explain how each element is used.
- Explain why a DOC TYPE is a useful thing to include in a web page.
- Identify two different DOC TYPE and explain why you would use one over the other.
- Explain why modern web browsers have both a "quirks" mode and a "standards" mode.
- Explain the difference between the alt attribute and the title attribute?
Advanced
[edit | edit source]- Identify and discuss the pro's and con's of HTML 5 vs HTML 2