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

Posted by Chris F.A. Johnson on 10/09/06 21:21

On 2006-10-09, rvtol_pe@hotmail.com wrote:
>
>> <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.

All cases where you want a two-line space can be handled with CSS.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

 

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

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