F&M Home  | About the College  | Academics  | Admission  | People & Services  | Student Life
ATSFranklin & Marshall College
About ATS  |   Faculty Support  |   Student Support  |   Resources  |   Events   |  Facilities
ATS Home
Resources
Learning Materials
Software Tools
Tech News
Bookmarks
Clip Media

 

Formatting Text: Block Element Tags

Prev | Next | HTML Basics
print:
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>

Prev | Next | HTML Basics
print:


 

Locations of visitors to this page

Search within Resources or across the entire site.

 
 Search within Resources only.

Site Map

 

Copyright 2008 Franklin & Marshall College