You are here: Re: <p> or <br> « HTML « IT news, forums, messages
Re: <p> or <br>

Posted by patrick j on 10/09/06 18:14

On Mon, 9 Oct 2006 17:26:29 +0100, rvtol_pe@hotmail.com wrote
(in article <1160411189.321252.102380@k70g2000cwa.googlegroups.com>):

>
>> <br><br> is always wrong. You've broken the line once, how do you break
>> it a second time?
>
> I don't see why this is wrong. BR is a single line break and there is
> nobody forbidding you to use 2 of them and it will validate correctly.
> The P tag simply helps you to define a paragraph and to have some more
> flexibility when it comes to styling; however, there are plenty of
> cases that would have a double BR making your code more readable.
>

I think it's a matter of style.

I would always tend to use <p> and then use CSS to adjust spacing.

This is also true of my use of word processors. I always use the para
spacing to create space between para's, I never use empty line breaks
as do many people.

The advantage I think of adjusting spacing for <p> is that it is
incremental whereas using more than one <br> is not very adjustable.

At least that's the way I see it :)

--
Patrick
Brighton, UK

 

Navigation:

[Reply to this 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

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