Sections by page titles:
To add comments to your markup, enclose the remark in comment delimiters:
That's LessThanExclamationPointHyphenHyphen followed by your comment, and ended with HyphenHyphenGreaterThan.
Comment delimiters can also be used to hide markup from the processing of the browser; anything that is enclosed within the comment will not be processed, and so will be hidden from the viewer:
Partial markup can violate the balancing of the elements' start and end tags, and can cause strange results. With commented-out end tags, elements could end up trying to contain other elements that you don't mean them to contain.
2: Document types
HTML 4.01 Transitional
The documents in this site use the Transitional doctype.
HTML 4.0 Frameset
This doctype is for the containing Frameset document only, not for its frame element documents.
HTML 4.01 Strict
XHTML 1.0 Transitional
3: Meta Elements
4: Email & Forms
Email LinkEmail to: a href="mailto:email@example.com"
Forms must interact with a server-side script. This form is disabled in two ways: it is posted to an
Surprised? Stylesheets are not HTML. They are a presentational supplement to the structural markup of HTML.
If markup is the bones of a document, giving it structure and integrity, then the content is the musculature that fills it out and gives it life. If this, then stylesheets are the clothing that goes over it all.
Stylesheets dress a document beyond the few presentational elements and attributes and values that are available in HTML 4.01 Transitional, and beyond the even fewer of those that are available in HTML 4.01 Strict, or the XHTMLs.
It is vital that the markup that uses stylesheets be correctly written: nesting (first in, last out); closing of all possible content elements (start & end tags); appropriate use of block level elements to contain inline elements; semantic use of elements as much as possible. Unless the markup is accurate, strange things can happen: fonts may get bigger with each successive paragraph; bits may land on other bits; things may disappear; and more.
For more on this, see these links:
Stylesheets will affect only those browsers that use them. Otherwise, a document will take the attribute values in your markup.
A page demonstrating image scaling using the CSS unit,
Norwalk Community College - Extended Studies & Workforce Education
WWW Internet - Creating Home Pages with HTML
Copyright © 2001 by Gary Munch.