Graphic of the words PC RESOURCES in burning flames

Skip to main content

Skype status: Call us!
or
send us an IM!

Not got Skype? Find out more and download: click here!

Search crustysocks.com:

Mobile/cellular phone accessories and handsets Conspiracy theory books and DVD's Become a link partner



HTML TUTORIAL/PARAGRAPHS AND LINE BREAKS

Being able to arrange your text in paragraphs with line breaks is one of the most basic elements of HTML. We do this with the following codes:

  1. <P> (use the closing tag of </P>)
  2. <P ALIGN="CENTER"> ("CENTER: can be substituted with "left or right" and has the closing tag of </P>)
  3. and <BR> (this code has no closing tag).


The first one (<P>) is the code for a paragraph that is left justified, by default text is displayed in this way. The second one (<P ALIGN="CENTER">), is the code to center-align a paragraph (PLEASE NOTE: the spelling of "CENTER" is the US spelling and not the UK spelling)...and as I put above, this can be substituted with left and right. Using "left,right or center" will align the paragraph accordingly. Here's some examples:



This is using the <P> code.

The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.



This is using the <P ALIGN="CENTER"> code.

The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.



This is using the <P ALIGN="RIGHT"> code.

The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.



This is using the <P ALIGN="LEFT"> code.

The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.



The line break code (<BR>) is one of the codes that doesn't require a closing tag. One <BR> code will start the text on the next line, two <BR> codes will create a line break (<BR><BR>). One <P> tag is the equivalent to a line break code. Try it out for yourself!

Getting started
A basic web page layout
Linking to another page or sections of a page
Creating an E mail link
Paragraphs and line breaks
Headings
Ordered and unordered lists
Inserting and aligning images
Changing colour and font attributes

SOCIAL BOOKMARKING

Add this page to:

Bookmark to: Digg Bookmark to: Del.icio.us Bookmark to: Facebook Bookmark to: Reddit Bookmark to: StumbleUpon Bookmark to: Slashdot Bookmark to: Furl Bookmark to: Blinklist Bookmark to: Technorati Bookmark to: Newsvine Bookmark to: Blinkbits Information


CONTACT INFORMATION

Picture of Crustysocks himself facing left with is arms outstretched! Please contact us with any enquiries or comments via our
contact form or if you prefer to e-mail direct, you can at: enquiries@crustysocks.com

For any technical problems or accessibility issues you may be experiencing, please use the "contact form" link above or e-mail the webmaster at: webmaster@crustysocks.com

For live Skype chat or instant messaging:
Skype status: Call us!
or
send us an IM!

Not got Skype? Find out more and download: click here!



©(COPYRIGHT) CRUSTYSOCKS.COM
2010 ALL RIGHTS RESERVED.



Back to top