Introduction
Text
Color Values
Body Attributes
Fonts
Text Effects
Special Characters
Example
Formatting
Links
Lists
Images
Tables
Frames
Forms
Conclusion


Example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Text Example</TITLE>
</HEAD>
<BODY BGCOLOR="#CCCCCC" TEXT="#000099">
Body Settings<BR><BR>
This page has been set with a light gray background color: #CCCCCC.<BR>
This page has a default blue text color: #000099.<BR><BR>
Font Settings<BR><BR>
<FONT COLOR="#FF0000">This sentence's font color is set to red: #FF0000.</FONT><BR>
<FONT FACE="Verdana,Arial,Helvetica">This sentences font face is set to Verdana, Arial, or Helvetica.</FONT><BR>
<FONT SIZE="5">This sentence's font size is set to 5.</FONT><BR><BR>
Text Effects Settings<BR><BR>
<B>This sentence is bold.</B><BR>
<STRONG>This sentence is strong.</STRONG><BR>
<U>This sentence is underlined.</U><BR>
<I>This sentence is in italics.</I><BR>
<EM>This sentence is in emphasis.</EM><BR>
This is <SUP>superscript</SUP>.<BR>
This is <SUB>subscript</SUB>.<BR><BR>
</BODY>
</HTML>

Check out how this code looks when displayed on your browser, by clicking here.

back  next

© Copyright 2000-2002 by Pepmint.com. All Rights Reserved

Search Pepmint.com

home :: tutorial :: portfolio :: links :: hammies :: guestbook :: contact