Jennifer Clarkson Photography Logo> </div>

<div align=

    Photo Galleries            


Formatting Text and Paragraphs Using HTML

Text and Paragraphs can be formatted in any number of ways. Font colour, alignment, and size are just a few of the everyday basics. There are also header tags, paragraph tags, and lists to help you organize your web page.


Formatting Text

Standard Formatting Tags

<I> italics
<B> boldface
<TT> monospaced font, like that of a typewriter
<S> strikethrough
<U> underline
<BIG> increases text size relative to default
<SMALL> decreases text size relative to default
<SUP> superscript
<SUB> subscript
<BLINK> causes text to blink or flash at you

For example,
<B>The <U>cat</U> sat on the <U>mat</U></B> yesterday in the <I>sun</I>.
would appear as
The cat sat on the mat yesterday in the sun.

Headings

Headings range in size, font, and attributes. They are in the form <H#> where # is a number from 1 to 6, 1 representing the largest, most prominent heading.

<H1> Large Heading Text </H1>

Special Characters

Not all browsers recognize special characters. As an alternative, you can use special HTML equivalent codes to represent such characters. All begin with &, are followed by code, and end with ;

For example, &quot; represents “ and &nbsp; represents a space.

Preformatted Text

<PRE> </PRE> displays text exactly the way it is entered between the two tags, including
spaces, formatting, etc.

For example, <PRE> This is a <B>test</B>. </PRE>
will appear as This is a <B>test</B>.


Formatting Paragraphs

Text Breaks

<P> </P> paragraph tag that inserts a line space.
<BR> a line break of equivalent to pressing Enter
<HR> horizontal line
<HR SIZE=8> changes thickness of horizontal line from default 2 to 8
<HR WIDTH=200> changes width of horizontal line to 200 pixels
<HR WIDTH=50%> changes width of line to 50% width of browser window
<HR WIDTH=33% ALIGN=LEFT> can combine options in one line
<HR NOSHADE> turns off 3D effects

Alignment

<P ALIGN=RIGHT> right-aligns the paragraphs
<CENTRE></CENTRE> centres the paragraph (notice the American spelling)
<P ALIGN=JUSTIFY> justifies the paragraph
<P ALIGN=LEFT> or simply just <P> left-aligns the paragraph - default
<P NOWRAP> turns off word wrap
<P CLEAR=LEFT> moves paragraph down until margin indicated is
clear from images or pictures
<P CLEAR=RIGHT>
<P CLEAR=ALL>
<BLOCKQUOTE></BLOCKQUOTE> offsets a paragraph (indentation)

You can combine any or all of the above in one line:
<P ALIGN=RIGHT CLEAR=ALL>

Font

<FONT FACE=“Arial, Times New Roman” COLOR=#008000></FONT>
§ Specifies order of font preference if browser does not support your favourites
§ If none of the fonts exists on the user’s computer, the user’s default font is displayed, in this case in the colour green
<FONT SIZE=5></FONT>
§ Font size is from 1 to 7; the default is 3
<FONT SIZE=+2></FONT>
§ Increases current font by 2 sizes
<FONT SIZE=-1></FONT>
§ Decreases current font by 1 size
<BASEFONT SIZE=5>
§ Changes the default font size from 3 to 5

Body Properties

The background can be set within the tag for the main part of the HTML document – the <BODY> tag.

<BODY BACKGROUND=”picturename.gif”>
§ Create a watermark image as your background (i.e. one single image that is tiled to fit the browser window
<BODY BACKGROUND=”backlogo.gif” BGPROPERTIES=FIXED>
§ Now the background image is fixed and will not scroll
<BODY BACKGROUND=”image.jpeg” TOPMARGIN=50 LEFTMARGIN=100>
§ A margin has now been set for 50 and 100 pixels respectively
<BODY BGCOLOR=#0000FF>
§ Colour is specified in hexadecimal numbers, Red-red-Green-green-Blue-blue
<BODY TEXT=#FFFFFF>
§ Text colour
<BODY LINK=#FFFF#F>
§ hyperlinks
<BODY VLINK=#EBEBEB>
§ Hyperlinks already visited
<BODY ALINK=#FF0000>
§ Active link colour

Lists

1) Unordered lists use bullets to format lines of text:

<UL>
<LH>List Header</LH> List Header
<LI>List Item 1</LI> · List Item 1
<LI>List Item 2</LI> · List Item 2
</UL>

<UL TYPE=DISC> type of bullets: disc, square, or circle


2) Ordered lists use numbers or letters to organize lines of text.

<OL>
<LH>List Header</LH> List Header
<LI>List Item 1</LI> 1. List Item 1
<LI>List Item 2</LI> 2. List Item 2
</OL>

<OL TYPE=A> uses letters instead of numbers
<OL TYPE=I> uses roman numerals
<OL START=57> start numbering at 57 (default is 1)
<OL CONTINUE> continue numbering from previous page
<LI SKIP=5> skip 5 numbers