This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Web Design Forum > August 2005 > <BR> tag deprecated?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author <BR> tag deprecated?
Steve S.

2005-04-10, 6:47 pm

A friend tells me that the W3C is about to deprecate the <BR> tag in favor
of other linespace methods using CSS. I am about to convert my site over to
CSS, but don't want to employ a workaround for all those <BR> tags if it
isn't necessary. Meanwhile, I can't find any mention of this on the W3C
site, and they are still using it themselves. Anybody know anything about
this?
Thanks,
Steve S.



Chris Gunn

2005-04-10, 6:47 pm

On Sun, 10 Apr 2005 11:12:59 -0500, "Steve S." <ssake@goldthread.com> wrote:

>A friend tells me that the W3C is about to deprecate the <BR> tag in favor
>of other linespace methods using CSS. I am about to convert my site over to
>CSS, but don't want to employ a workaround for all those <BR> tags if it
>isn't necessary. Meanwhile, I can't find any mention of this on the W3C
>site, and they are still using it themselves. Anybody know anything about
>this?


Howdy Steve,

Great! The word "deprecate" is one of my favorite jokes!

It does not make a darned bit of difference what these W3C folks have to
say. The only thing you have to worry about is whether IExplorer and the
other browsers are going to stop supporting HTML 3.2. Quite frankly, you
don't have to worry about them trashing millions of web pages using
<CENTER>, <FONT>, <BR>, HEIGHT, WIDTH, or any other active HTML code.

IExplorer is the big dog and W3C are the tail trying to wag the dog.

You will always be able to ignore CSS completely if you wish.

Keep in mind that every tag you put in a web page requires the browser to
figure out how to turn it into a bit map. Using fancy coding to produce
what standard HTML does slows things down. I've seen web pages that center
the same text four different times and bold it twice. The <TH> tag does the
whole thing with one code.

Thanks, Chris www.bizynet.com and www.bizycart.com
BIZynet Coordinator cgunn@bizynet.com - (850) 936-1234
Moderator of biz.ecommerce, biz.general, biz.marketplace.discussion,
biz.marketplace.web-design, biz.marketplace.international & others

Charter

2005-04-20, 7:57 pm

I believe the "new way" if you will, of doing the <br> tag is </ br>...

Joe
--

Lake Superior Web Design
Professional Web Design - Affordable Prices
http://www.lswebdesign.net
"Steve S." <ssake@goldthread.com> wrote in message
news:94ki51t6rllgj45tnsn17jhg4vifp91bpt@4ax.com...
>A friend tells me that the W3C is about to deprecate the <BR> tag in favor
> of other linespace methods using CSS. I am about to convert my site over
> to
> CSS, but don't want to employ a workaround for all those <BR> tags if it
> isn't necessary. Meanwhile, I can't find any mention of this on the W3C
> site, and they are still using it themselves. Anybody know anything about
> this?
> Thanks,
> Steve S.
>
>
>



Dee

2005-04-20, 7:57 pm

Hi Steve

Try <br />. I use this on most of my pages and it stops W3C getting
stroppy.

HTH

Debbie


Chris Gunn

2005-04-20, 7:57 pm

On Mon, 18 Apr 2005 20:11:39 -0500, "Dee" <zezx81@lycos.co.uk> wrote:

>Try <br />. I use this on most of my pages and it stops W3C getting
>stroppy.


Howdy Dee,

Do you know what the slant (/) in the HTML tag means?

It means "quick close" which is rather silly for <BR> which terminates
immediately anyway. There is no practical reason for the web browser
programmer to do anything more than teach the browser to ignore the silly
surplus "/" character in all of the HTML tags.

A simplified look at how a web browser parses the HTML in a web pages goes
something like this:

Find the next arrow bracket (< ). Find the closing bracket (> ). Extract
what's in between. Make it all upper case. What HTML code does the first
word in the brackets match? Which of it's known modifying parameters are
inside the brackets? Now add those to what the bit map picture for the web
site must look like.

You'll notice that any junk inside the arrow brackets is ignored. You can
use <bR 1234q/ a?gq0 ie76nl> and it will work exactly like <BR>. However, a
good HTML validator will let you know you've been a little sloppy.

Get rid of the surplus slant signs and start learning what the browsers
actually execute.

Thanks, Chris www.bizynet.com and www.bizycart.com
BIZynet Coordinator cgunn@bizynet.com - (850) 936-1234
Moderator of biz.ecommerce, biz.general, biz.marketplace.discussion,
biz.marketplace.web-design, biz.marketplace.international & others

Barry Nichols

2005-08-14, 7:45 pm

I disagree you should be using <br /> if you can't avoid the br tag as you
should be making the jump to W3C compliant XHTML - STRICT. If you want to be
coding websites tomorrow learn XHTML and CSS today.


"Chris Gunn" <cgunn@bizynet.com> wrote in message
news:sn3b61tede548p1quk79246m4lddasio92@4ax.com...
> On Mon, 18 Apr 2005 20:11:39 -0500, "Dee" <zezx81@lycos.co.uk> wrote:
>
>
> Howdy Dee,
>
> Do you know what the slant (/) in the HTML tag means?
>
> It means "quick close" which is rather silly for <BR> which terminates
> immediately anyway. There is no practical reason for the web browser
> programmer to do anything more than teach the browser to ignore the silly
> surplus "/" character in all of the HTML tags.
>
> A simplified look at how a web browser parses the HTML in a web pages goes
> something like this:
>
> Find the next arrow bracket (< ). Find the closing bracket (> ). Extract
> what's in between. Make it all upper case. What HTML code does the first
> word in the brackets match? Which of it's known modifying parameters are
> inside the brackets? Now add those to what the bit map picture for the

web
> site must look like.
>
> You'll notice that any junk inside the arrow brackets is ignored. You can
> use <bR 1234q/ a?gq0 ie76nl> and it will work exactly like <BR>. However,

a
> good HTML validator will let you know you've been a little sloppy.
>
> Get rid of the surplus slant signs and start learning what the browsers
> actually execute.
>
> Thanks, Chris www.bizynet.com and www.bizycart.com
> BIZynet Coordinator cgunn@bizynet.com - (850) 936-1234
> Moderator of biz.ecommerce, biz.general, biz.marketplace.discussion,
> biz.marketplace.web-design, biz.marketplace.international & others
>



Chris Gunn

2005-08-16, 7:46 pm

On Sun, 14 Aug 2005 11:26:58 -0600, "Barry Nichols"
<barry.nichols@ntlworld.com> wrote:

>I disagree you should be using <br /> if you can't avoid the br tag as you
>should be making the jump to W3C compliant XHTML - STRICT. If you want to be
>coding websites tomorrow learn XHTML and CSS today.


Howdy Barry,

It's a very good idea to learn the basic alphabet before trying to read
Shakespeare {grin}.

There's not much point leaping to XHTML if you can't code the pages in plain
ol' HTML 3.2 error free first. Quite frankly, I make a very good living at
web design and have never needed anything beyond HTML 3.2 and a little CSS.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> will continue
working just fine for many many years to come. IExplorer and the other
major browsers are not about to wreck millions of web pages.

Thanks, Chris www.bizynet.com and www.bizycart.com
BIZynet Coordinator cgunn@bizynet.com - (505) 586-1225
Moderator of biz.ecommerce, biz.general, biz.marketplace.discussion,
biz.marketplace.web-design, biz.marketplace.international & others

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews