March 01st, 2007 | Category:
NED11
- 1. What tags make up the basic structure of an HTML document?
<html> tag wrapping <head> and <body> tags
- 2. What tags do you use to denote a paragraph?
<p>
- 3. What is the difference between a paragraph tag and a line break tag?
- The paragraph tag starts or finished a new paragraph (just like pressing enter or return in a word processing application). The
<br /> doesn’t start a new paragraph, just a new line (just like pressing shift+enter or return in your word processing application).
- 4. How do you create a bulleted list?
<ul><li></li></ul>
- 5. How do you create a numbered list?
<ol><li></li></0l>
- 6. There is title information that appears for Web pages in the title bar of a Web browser, in your bookmarks when you choose to bookmark a site, and as a listing in the search results when you do a search for information using a search engine like Google. How do provide this very important information in your HTML code?
<title>What ever comes here will show up when your bookmark the page. Therefore, you want the first word to be your web site name’s so it will be easier for your user to find.</title>
- 7. How do you add an image?
<img src=“path/to/image” alt=“alternate text here” />
- This will probably change to object in the next version of XHTML.
- 8. How do you add a link?
<a href=“path/to/link”>Link text</a>
- This will probably change to <link> in the next version of XHTML.
- 9. How do you make an image a link?
- Insert your image tag where the link text is.
- 10. Provide the code for an empty table, 3 columns long and 4 rows high.
<table>
<tr><td>First Row</td><td>TD</td><td>TD</td></tr>
<tr><td>Second Row</td><td>TD</td><td>TD</td></tr>
<tr><td>Third Row</td><td>TD</td><td>TD</td></tr>
<tr><td>Fourth Row</td><td>TD</td><td>TD</td></tr>
</table>