• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

sternyy
#1 Posted : Tuesday, December 12, 2006 12:11:01 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
<p> Tags vs <br /> - Which ones are better to seperate paragraphs?
Matt@9BallDesign
#2 Posted : Tuesday, December 12, 2006 12:12:37 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

I will say that I prefer &lt;p&gt; as I can isolate it via the stylesheet for additional formatting if needed.

Are you talking about:


&lt;p&gt;TEXT&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;TEXT&lt;/p&gt;
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
sternyy
#3 Posted : Tuesday, December 12, 2006 12:22:09 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
Yeah thats what i thought... but ive been using the <br /><br /> to isloate paragraphs. I was curious if i should start doing:

code:
<p>Paragraph</p>
<p>Paragraph</p>

wysiwyg:
paragraph

paragraph

instead of doing this

code:
Paragraph
<br /><br />
Paragraph

wysiwyg
paragraph

paragraph
Matt@9BallDesign
#4 Posted : Tuesday, December 12, 2006 12:28:08 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

I suggest &lt;p&gt;&lt;/p&gt; for the reason suggested above. Plus, it's just better code.... :)
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
sternyy
#5 Posted : Tuesday, December 12, 2006 12:29:39 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
yup yup... just wanted to make sure before i started something bad lol. thanks.
Cliff
#6 Posted : Tuesday, December 12, 2006 2:39:49 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Yeah, always use <p> for a paragraph (and don't forget to close the tag; for some reason a lot of people don't use the </p>). <br /> is for single line breaks within a paragraph, so really should only be used one at a time, if needed.
Marcus
#7 Posted : Tuesday, December 12, 2006 2:46:12 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Bryan - Just a note that you shouldn't put <ul></ul> tags inside paragraphs when you start using the <p> tag. It's a small thing but it will keep your pages from validating if you break the rule.
sternyy
#8 Posted : Tuesday, December 12, 2006 2:49:49 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
got it... Thats what ive been practicing <p></p> tags for a while but I looked back at some of my old pages and noticed using <br /><br /> to seperate the paragraphs and couldnt figure out why i did it lol. I havent ever used <ul></ul> inside the <p></p> tags as it messes everything up but thanks for the warning!
Cliff
#9 Posted : Tuesday, December 12, 2006 10:24:12 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

A lot of WYSIWYG editors do some serious damage in paragraphs and line breaks (not to mention practically everything else). I think that's how a lot of people end up with it, which is a shame, because that's how a lot of people learn HTML.
sternyy
#10 Posted : Tuesday, December 12, 2006 10:33:19 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
yeah i stopped using wysiwyg a long long time ago... fp 2002 i think (sf5 days). I still have a lot of products imported from back in those days that have yet to be updated. I guess i meant with wysiwyg above is showing what its like once it rendered in the browser.

Im still always finding new ways of coding... I have to go back and refresh my memory when i see something old ;)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012