Web Design HTML Tags Examples
View Style Content | Blockquote
XMP | Wrap Text | Image Link
| Tables
| DIR
Table Wrap Text | Acrobat | Marquee | CLEAR
Image Border | Lists | Horizontal Rules
Fonts | Tags | Headings - H1, etc.
Paragraph Tricks | Hyperlink | Color Names
Preformatted Text | Inline Images | Justified Text
Here is the content of our Style Types for this page
Index of css styles
www.w3.org/TR/REC-CSS2/indexlist.htm
BLOCKQUOTE or Definition Lists
can be used to Create Indents
This is a BLOCKQUOTE example. BLOCKQUOTE or Definition Lists can be used to Create Indents. This is a BLOCKQUOTE example. This is a BLOCKQUOTE example. This is a BLOCKQUOTE example.
Using the DIR /DIR code will indent text:
This section of text will be indented.
This will also be indented.
This will also be indented.
This section of text will be indented.
This will also be indented.
This will also be indented.
XMP
Use the XMP tag to allow code to be visable.
Use the XMP tag to allow code to be visable.
Wrap, Clear and Border
Here is an example of wrapping text around images using the CLEAR attribute.
One image has a BORDER=2 while the other does not. This is an example of wrapping text around images. Add "BR CLEAR=left" here.
This text would normally continue to wrap around the right hand side of the image, but the CLEAR attribute here means that the text will continue here instead.
THE MARQUEE Example
Preformatted Text
This will show exactly as it is typed. I will press my ENTER key here.
It will record my typing as is. I am on the second line.
I have pressed my ENTER key.
I have pressed the TAB key here.
Table Wrap Example
| You can even |
wrap text |
| around tables. |
Here is an example of wrapping text around images within a table.
| You can even |
wrap text |
| around tables. |
Table Examples
| Table Header is Centered by Default |
Table Header is Centered by Default |
| Column one |
Column two |
Caption Placed on Top of a Table
| If you have three TR tags in your table, you will have three rows in your table. |
| Column one |
Column two |
Column three |
|   |
  |
  |
Table with no borders
|
|
|
| |
WIDGET SALE |
|
 |
Using a table with no borders.
you can place graphics and text with precision.
Isn't this nifty?
|
 |
Active Hyperlink
Click Here to Go to Top of Page
How Acrobat Works
-
Create a PDF (Acrobat format) file of the document you want to have appear lifelike.
-
Select PDF Writer as your printer
-
Print the file to the folder which has your HTML files.
-
Create a link in an HTML page that points to the PDF file
Fonts
This text is one size down from the basefont size.
The first letter of this sentence should be three sizes larger than the rest of the sentence and it should be blue.
The first letter of this sentence should be three sizes larger than the rest of the sentence it should be blue.
Logical Tags
B
This will be BOLD
I
This will be in ITALICS
U
This will be UNDERLINED
TT
This will look like it was typed on a typewriter
S
STRIKEOUT
DFN
DEFINITION
BR
Defines a line break
NOBR
NOBR prevents a line of text breaking. This line of text will not break. Will not break...........
 
There will be a space here and here.
¢
Here is a one cent sign:
1¢.
¦ and »
¦ Broken vertical bar.
«
« Left and right angle quotes »
EM
Emphasis (usually italic)
STRONG
Strong (usually bold)
ADDRESS
This will be the text
for the ADDRESS
BIG
Makes text one size larger
CODE
Monospaced font (usually Courier)
SMALL
Makes text one size smaller
SUP
Renders text as subscript
SUB
Renderstext as subscript
Headings
H1
This is HI
H2
This is H2
H3
This is H3
H4
This is H4
H5
This is H5
H6
This is H6
Paragraph Trick
I have added space.gif with HSPACE=5 and VSPACE=10 to indent my paragraph.
I have added space.gif with HSPACE=5 and VSPACE=10 to indent my paragraph.
I have added space.gif with HSPACE=12 and VSPACE=8 to indent my paragraph.
Hyperlinks
Clicking right here will take you to the top of this page.
The below images are linked to
Justified Text
P align="justify" will of course align your text right and left justified. It gives your text that "text book" effect.
This will be aligned left
This will be aligned right
Color Names
Internet Explorer supports the following color names:
This is AQUA
This is GRAY
This is NAVY
This is SILVER
This is BLACK
This is GREEN
This is OLIVE
This is TEAL
This is BLUE
This is LIME
This is PURPLE
This is FUCHSIA
This is MAROON
This is RED
This is yellow
Of course WHITE is also a color supported by Internet Explorer!
Netscape supports over a hundred color names in addition to the above such as DARKORANGE and DEEPPINK
Lists:
You may the TYPE attribute to specify the type of numbering used.
OL TYPE=1 arabic numerals (default),
TYPE=A-capital letter,
TYPE=a small letters,
TYPE=I large roman numerals,
TYPE= i small roman numerals.
Default List:
- first list item
- second list item
Ordered Lists:
- first list item
- second list item
- third list item
- first list item
- second list item
- third list item
Definition Lists
- HTML
- Definition Lists
- HEAD
- The first part of this list
- BODY
- The main part of the list
Nesting Lists
- first list item
- second list item
- third list item
- first list item
- second list item
- third list item
Inline Images
Elizabeth Irene Bryan-McCabe
Horizontal Rules
BACK TO TOP