Вы находитесь на странице: 1из 2

Some Commonly Used HTML Tags

Tags Use
(<HTML>. . . </HTML>)* The entire HTML document

(<HEAD> . . . </HEAD>)* The head, or prologue, of the HTML document

(<BODY> . . . </BODY>)* All the other content in the HTML document

<TITLE> . . . </TITLE> The title of the document

<H1> . . . </H1> First-level heading large text size

<H2> . . . </H2> Second-level heading

<H3> . . . </H3> Third-level heading

<H4> . . . </H4> Fourth-level heading

<H5> . . . </H5> Fifth-level heading

<H6> . . . </H6> Sixth-level heading small text size

Paragraph Hitting a return in the HTML file will


<P> . . . (</P>)* not make a new paragraph when the file is viewed.
You need to use this tag to make a new paragraph.

<BR> Line Break This tag will show a blank line.

Horizontal Rule Creates a horizontal line on the


<HR>
page.

Comment The comments you write in the middle


<!- . . . ->
will not show up on the page when viewed.

<A href=> . . . </A> Link (A=Anchor) links the current HTML file to


another file. Example: <A HREF="menu.html">Go
back to Main Menu</A> This will display the file
which is named in the quotes. The name of the link,
which is the colored words you actually see goes
between the first > and the second <. Here, the name
of the link is Go back to the Main Menu Another
example is : <A
HREF="http://www.ilt.columbia.edu/">ILTNet</A>
This link will take you to another page on the
Internet. You can see the Internet address in the
quotes.

Definition list Put <DL> at the beginning, </DL> at


the end, and <DT> for each :definition term" in the
<DL> list. Use <DD> for each "definition" of each term.
<DT> The definition will be indented. 
<DD>  <DL>
</DL> <DT>Item One
<DD>Item One Definition
</DL><="" td="">

Inline Image Put the name of the graphic (.gif or


<IMG SRC="image.gif">
.jpg) in the quotes.

<B> . . . </B> Bold Makes text bold

<I> . . . </I> Italic Makes text italic

Font Size This tag is used to change the size of the


<font size="+3"...</font> font. It is better than using the header tag to make the
font appear bigger.

"Table"=Starts a table.
<table> 
"TR" (Table Row) = Starts a row.
<TR>
"TD" (Table Data) = Starts a cell to enter
<TD>
data.
</TD>
"/TD" = Puts an End to data entry.
</TR> 
"/TR" = Puts an end to a row.
</Table>
"/table" = Ends Table.

( )* optional

==>> This document was originally created by Tom Gantz, Computer Analyst at Teachers
College, Columbia University.

 Go Back to Publishing on the Web

Вам также может понравиться