Picture Framers Trade Directory :: Index
Picture Framer

Some Common HTML Tags

This does not pretend to be a full tutorial on HTML. However, to help get you started, here are a few simple tags that could help you jazz up your ad:

<I> ... </I> - italics.

<B> ... </B> - boldface.

<U> ... </U> - underline.

<TT> ... </TT> - typewriter font. This uses a fixed-width font if one is available, which can be useful when you want columns of text to line up. (HTML offers much more sophisticated ways to align columns of text, including the <TAB> and <TABLE> tags, but for very simple cases it’s sometimes easier to use a fixed-width font.)

<CENTER> ... </CENTER> - center text.

<BLOCKQUOTE> ... </BLOCKQUOTE> - slightly indent both the left and right margins. This is usually used to display long passages of quoted material, but can be handy for simple formatting as well.

<SUP> ... </SUP> - display text as a superscript, in a smaller typeface and elevated slightly from the main text line.

<SUB> ... </SUB> - display text as a subscript, in a smaller typeface and lowered slightly from the main text line.

UK & Ireland
Picture Framer's Trade Directory
 
Click Here To Learn How to place your Free Ad
 
Please register or log in.
           
Register
Username *
Email *
Password *
Repeat password *
Remember password
Copyright © 2005 - 10 Scenes
 
The Framers Knowledge Base

<FONT SIZE=n COLOR=c FACE=f> ... </FONT> - display text in a different size or color. For sizes, you can use 1 through 7; the default size is 3, and larger numbers indicate larger font sizes. You can't specify the exact point size because this varies according to user settings, so SIZE simply selects a relative font size.

For COLOR, you can specify a color name; some common color names are WHITE, BLACK, SILVER, GRAY, RED, BLUE, GREEN, YELLOW. You can also specify a hexadecimal RGB (reg-green-blue) value using notation such as ‘#FF0000’.

You can also specify a typeface by name. Note that you don’t have to specify all of these attributes with the <FONT> tag - if you only want to change the current text color but leave its size and typeface unchanged, include only the COLOR attribute in the tag.

<BR> - line break: start a new line.

<HR> - horizontal rule: show a horizontal line. You can use this as a visual separator.

<P> ... </P> - display text as a paragraph. Each paragraph is separated from the next with a blank line.

<IMG SRC='http://
www.mysite.com/
images/file.jpg'>
- show an image from the file “file.jpg” (“.jpg” indicates a JPEG picture file, and “.png” indicates a PNG image file).