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

Posted by John Salerno on 10/09/06 17:48

Andy Dingley wrote:

> Obviously <p> is used for paragraphs and <div> should be
> used for "chunks fo text that aren't a grammatical paragraph"

Just out of curiosity, where did you get that quote from? I can see why
it would be confusing if <div> is still defined in terms of "text" and
"paragraph", but it seems (to me, at least) that <div> is really used
for sections of your webpage that are distinct in terms of overall
content, i.e. a header and a footer can each be a <div>, the main body
could be, sidebars could be, etc. In those terms, it has nothing to do
with text or paragraphs necessarily.

 

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

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