|
Block Elements:
Tags that format text on the paragraph level are known as block elements, and they are the distinct units of text that make up the web page. Like most HTML tags, block element tags are container tags. They consist of two tags (a beginning tag and an end tag) that are wrapped around a range of text. The tag instruction applies to all content contained within the tag, like an "on and off" switch.
NOTE: When a browser sees a block element, it will automatically insert a line break and add a little space above and below the text element.
Headings
<H1>First Level Heading</H1>
<H2>Second Level Heading</H2>
<H3>Third Level Heading</H3>
<H4>Fourth Level Heading</H5>
<H5>Fifth Level Heading</H5>
<H6>Sixth Level Heading</H6>
Paragraphs
<P>creates a paragraph</P>
Line Breaks
<BR>inserts a line break NOTE: No end tag
Blokquote
<BLOCKQUOTE>indents text from both sides</BLOCKQUOTE>
Preformatted Text
<PRE>creates preformatted text</PRE>
|