Graphic Design Navigation
 

E-mail this page Have Questions?
Google
 
 
     

Easy to understand articles

Where you are:
      » Home   » Web Design

HTML Text and Alignment Tags
Here's a listing of all the various text and alignment tags. The tags are listed in blue. The attributes (if any) that go inside the tags are listed below them. If you haven't done so, you might want to read the introductory article on HTML first.slug

 Tags    Descriptions

<FONT> </FONT>

Attributes:
COLOR="#hexadecimal color" changes the color of selected text

FACE="font name 1, font name 2" requests that a browser use certain fonts for the selected text. If none are available, the browser uses the set defaults.

SIZE="1-7" determines the size of selected words from smallest (1) to biggest (7)

 

 

This tag changes the text selection's color, size and font. The tag requires that at least one attribute be used.

Example: <FONT COLOR="#0000ff" FACE="Arial, Helvetica" SIZE="3">text</FONT>
or
text

<H1> </H1> through <H6> </H6>

Attribute:
ALIGN="left, center or right"

 

Headline-sized type. H1 is the largest and H6 is the smallest (opposite of FONT tag styling unfortunately)

Example: <H1 ALIGN="center">This is a headline <H/1>
or

This is a headline

 

<B> </B>  

Bolds selected type

Example: <B> bold type </B> or
bold type

 

<I> </I>  

Italicizes selected type

Example: <I> italic type </I> or
italic type

 

<EM> </EM>  

Emphasizes selected type (usually italics)

Example: <EM> emphasized type </EM> or
emphasized type

 

<STRONG> </STRONG>  

Strongly emphasizes selected type (usually bold)

Example: <STRONG> emphasized type </STRONG> or emphasized type

 

<STRIKE> </STRIKE> or
<S> </S>
 

Strikes through selected type

Example: <S> stricken type </S> or
stricken type

 

<SUB> </SUB>  

Subscript selected type

Example: <SUB> subscript type </SUB> or
subscript type

 

<SUP> </SUP>  

Superscript selected type

Example: <SUP> superscript type </SUP> or
superscript type

 

<TT> </TT>  

Typewriter type

Example: <TT>typewriter type </TT> or
typewriter type

 

<U> </U>  

Underline selected type

Example: <U> underlined type </U> or
underlined type

 

<BIG> </BIG>  

Bigger selected type

Example: <BIG> bigger type </BIG> or
bigger type

 

<SMALL> </SMALL>  

Smaller selected type

Example: <SMALL> smaller type </SMALL> or
smaller type

 

 


Top


HOME  |  Equipment  |  Graphics  |  Fonts  |  Printing  |  Web  |  Classes  |  About Us

Visit other My Design Studio sites: Printing-101.com  |  1WordPlace.com

© Copyright My Design Studio, all rights reserved. Please read our terms of use.

 
Fonts Graphics Classes Web articles Printing Equipment Home Web Terms HTML Coding Web File Formats Website Development Website Maintenance Surfing Tips & Tricks About Us