Reply to Re: line break

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 06/11/07 00:30

David wrote:

> i'm fairly new to html so forgive me if this is a silly question
>
> i can't work out the difference between <br> and <br />
> both seem to work ok for me
> in what cirumstances should each be used?
>
> also to make paragraphs i've been using <br> to make a gap between
> text buut now i've found <p> </p> is it more proper to use <p> than
> <br> or doesn't it matter?

And now to answer the real question: use <p> ... text ... </p> for your
paragraphs. Do not use any flavor of <br> for line breaks, except
perhaps in poetry.

<p>
Listen my children and you shall hear<br>
of the midnight ride of Paul Revere.<br>
He got in his car, stepped on the gas<br>
the seat fell out, and he skinned his knee.
</p>

--
-bts
-Motorcycles defy gravity; cars just suck

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация