http://fishcaro.crosswinds.net/day_5_structural_tags.htm
INDEX CARD #5:
BASIC STRUCTURE OF HTML FILES (5a)What's the basic structure of an HTML document? An HTML document is divided into two major portions: the HEAD and the BODY. The HEAD contains
information about the document; the BODY contains the stuff that will be
displayed in the browser window. The skeletal structure is: What is the <TITLE> tag used for? The TITLE container goes
inside the HEAD container. It provides a description of the page's contents. Avoid vague titles like "Welcome" or
"My Homepage." The title is used:
|
INFORMATION BROWSERS IGNORE (5b)How do I insert COMMENTS in an HTML document? Browsers will ignore text between the <!-- and --> symbols. Use comments liberally to de-mystify your HTML code. They can extend over more than one line. Be sure to put a space after the initial <!-- and before the final --> , like this: How do browsers treat "white space" in HTML documents? In general, browsers will ignore line breaks, tabs, and multiple spaces. So, if you type: This is a GOOD feature! It means that you can improve the readability of your HTML code by inserting extra carriage returns, and spreading things out. Browsers will also ignore tags that they don't understand. |
Printable version of Index Card 5a
Printable version of Index Card 5b
WORKSHEET #5:
ASSIGNMENT #5:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
document.write("Last Modified " + document.lastModified)
// -->
</SCRIPT>