Home | Services | Free Quote | Web Design | Pricing
 

Paragraphs and Breaks

The ‹P› and ‹BR› tags

These two tags are basic ways of making line breaks and formatting our paragraphs.


We use the paragraph tag (‹p›) for a full line break between paragraphs and the ‹br› tag for a single line break in a paragraph. Below is how this is formatted in our browser.

My first paragraph.

My second paragraph
with a line break in it.

If you froget to close a ‹p› tag but the browser comes across a second ‹p› the browser will interpret this as a new paragraph.

The ‹br/› tag has a slash before it ends because it is it's own element and does not contain text or images within it, similar to a horizontal rule (‹hr/›).

Valid CSS! Valid HTML 4.01 Transitional
Privacy and Terms Of Service © 2004-2008 WebDesigners-Directory | RSS | Design Wall | Custom Web Design |

Web Design Directory: web design, web designer, web page and web site design, development firms, programming and HTML.

© Copyright 2008 All rights reserved.