HTML Core ElementsThese are the most essential elements; there are more elements in each category. 1: Document Level Elements
Be sure to nest these elements properly with their end tags:
2: Block Level ElementsContent goes into the Text has two types of core container elements: headings and paragraphs. A third, blockquote, is for specialized use with quoted material. HeadingsThere are six levels of headings in HTML, each larger number is commonly shown as a smaller sub-heading.
First Level HeadingSecond Level HeadingThird Level HeadingFourth Level HeadingFifth Level HeadingSixth Level HeadingParagraphsParagraphs are simply one size, the size that the user has chosen for the browser to display most comfortably.
BlockquoteBlockquote should be used to set off a lengthy quotation from a source other than the author of the preceding and following paragraphs. Blockquote may or may not contain paragraphs and headings for the quoted material.
This is some text in a paragraph. It is in sentences. This paragraph is followed by a blockquote.
Blockquote should not be used to simply achieve margins; use CSS to do that, or a percentage-width div or table. 3: Inline ElementsMany elements can be used to affect the meaning (and thus the rendered appearance) of an HTML paragraph.
If the two are used together, be sure they use the First In, Last Out nesting principle.
Some inline elements may suggest to the browser some physical change in the rendering of the content in the element.
4: Core Empty ElementsSeveral HTML elements have no content, and behave differently from content elements Horizontal RulesUse the
BreakBreak may be used within a block element or between two block elements. This paragraph has a <br> <br> <br> <br> Several breaks were inserted between the previous paragraph and this paragraph. Some browsers may collapse the space into one empty line. 5: Core Presentational AttributesAlignmentAlignment can be used on headings or paragraphs, or for shortened horizontal rules.
WidthScale a horizontal rule with a width attribute, and make it black and thin.
Scale a horizontal rule with a width attribute, align it, and make it black and thick.
(Some browsers may also honor the non-specification Core ColorGive the The
(See also the Color page for more on how to make HTML colors.) | ||
Home ||| HTML ||| Links ||| Core ||| Additional ||| Color ||| URL ||| Lists ||| Tables Images ||| Tricks ||| Hierarchies ||| Frames ||| Misc Norwalk Community College - Extended Studies & Workforce Education WWW Internet - Creating Home Pages with HTML |
Copyright © 2001 by Gary Munch.
|