 |
 |
[p] tags...utitlity?
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2001
Location: Los Angeles, CA, USA
Status:
Offline
|
|
i personally hate using <p> tags. i would much rather use two <br> tags instead if i want to start a new paragraph with a line break in between. whats the utility of <p> tags over <br> tags? i really havent found any need to use <p> tags. what do you guys think?
|
|
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: Mar 2000
Location: Land of the Easily Amused
Status:
Offline
|
|
I never use <font face = "courier"><P></font> tags. The paragraph tag is just supposed to make it easy to separate sections of text (by automatically putting space between them).
I prefer the <font face = "courier"><DIV></font> tag myself. Supposedly it's more correct to use <font face = "courier"><DIV ALIGN="CENTER"></font> than <font face = "courier"><CENTER></font>. Why do I use DIV ALIGN as opposed to P ALIGN? I have no clue. Just seems more right to me.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2000
Location: boulder, co
Status:
Offline
|
|
I do the div align center thing instead of the center tag too (too lazy to use teletype)
but why use <P>?
it's a paragraph... I dunno. I use it for blocks of text. For new lines I use BR.
|
|
Ad Astra Per Aspera - Semper Exploro
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Sep 2000
Location: Irvine, CA
Status:
Offline
|
|
It all depends on what you want in your webpage I guess. Most of the time for me, I will use the <p> tags simply because there is less to type and I usually dont use BBedit's palettes.
|
|
{{{ mindwaves }}}
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: Chicago, IL USA
Status:
Offline
|
|
|
|
|
Safe in the womb of an everlasting night
You find the darkness can give the brightest light.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2001
Location: Los Angeles, CA, USA
Status:
Offline
|
|
thats an interesting way to title that article. is there a burning sensation when you <p>? 
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Oct 2000
Location: Washington, DC
Status:
Offline
|
|
From experience, I usually use <p> tags for blocks of content, to establish paragraphs. The <p> tag adds an extra line, and I believe also triggers certain formatting stuff specific to that browser. Not really much different than using two <br> tags in a row.
However, <p> tags can work differently than 2 <br> tags in certain situations, like if there are no text in a section of HTML, and you use <p> then it will not actually do any formatting for some reason.
Generally, what I do is use <br> and <div> tags when I'm laying out graphics and othe page formatting stuff, and use <p> tags when I'm creating content, and formatting content.
To each their own, really. HTML is byzantine, anyway.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2000
Location: boulder, co
Status:
Offline
|
|
Now that I can actually think clearly, I usually use P for blocks of text because I have a special CSS definition for that tag. Defining BODY confuses netscape, so I just define P. 
|
|
Ad Astra Per Aspera - Semper Exploro
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
The utility of the <p> tag is that it defines the structure of your document, not the presentation. This allows a user's browser to present paragraphs in whatever manner is most appropriate for it. You can't go with with <br /> tags.
That alone should be enough reason. If not, here's another one: readability. Your code is more readable if you have tags that clearly show what you're trying to do, as a <p>tag does. This applies to humans and browsers alike, by the way.
And if that's not enough reason for you, it saves a keystroke per paragraph 
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|