Colspan depracated?

Are the colspan and rowspan attributes for TD and TH tags deprecated?



No it isn’t but HTML5 doesn’t even have such a thing/term as “deprecated” anyway it let’s anything in… LOL

Off Topic:

I think the term they use is “violated” :wink:

It would be a bit hard to create a complicated table without them :slight_smile: What makes you think they were deprecated?

1 Like

I just assume most attributes that affect appearance are deprecated now :smiley:

Thanks everyone.

Not appearance: meaning. Having a row span two or more rows changes the meaning of the data inside, how it relates to the other data in the table. Which is why it’s not considered presentational (unless you’re doing a layout table, lawlz).

Uh…no…of course not! :shifty:


False assumption, because the effect on appearance is NOT what tags MEAN, and not all tags were deprecated for appearance reasons!

DIR and MENU for example were removed just because they were redundant to UL. APPLET was deprecated and the proprietary EMBED and BGSOUND properties were not adopted in favor of OBJECT, which in the next HTML iteration was also supposed to also supplant IMG.

No joke, we were supposed to stop using IMG for OBJECT, and could have if IE’s implementation of object wasn’t STILL broken even in IE10 – the idea was so that as new file formats (like say… jpeg2k) came along they could easily be added via plugins to the various browsers… Which is a great idea, beats the tar out of this “lets hardcode it into a VIDEO or AUDIO tag” bullcookies which seems to exist JUST so the browser makers can pimp their favorite formats/encoders.

In terms of ‘presentation’ we saw more attributes get axed than tags. WIDTH, HEIGHT and ALIGN on anything other than OBJECT, IMG, and “TABLE elements” are gone, BORDER, HSPACE, VSPACE, BACKGROUND, BGCOLOR, TEXT, LINK, ALINK, VLINK, FACE, TYPE (on lists), START, COMPACT – gone… and of course the only non-presentational attribute that’s gone is TARGET, since that’s accessibility rubbish – so naturally the scripttards go and use js to piss on accessibility instead and of course it’s ‘back’ in 5. Way to go guys.

Look at deprecated tags for presentation – there’s CENTER, BASEFONT, FONT… and… and… S and STRIKE?

NO!!! S and STRIKE were removed as redundant to DEL!

U? Not entirely.

Let’s actually look at the list of deprecated tags:

APPLET – redundant to OBJECT

BASEFONT – presentation

CENTER – presentation

DIR – redundant to UL

FONT – presentation

FRAME – bad for accessibility.

FRAMESET – bad for accessibility.

IFRAME – bad for accessibility and possible security hole

ISINDEX – redundant to INPUT

MENU – redundant to UL

NOFRAMES – duh, frames again.

S – redundant to DEL

STRIKE – redundant to DEL

U – removed because only links should be underlined in STRICT conforming documents, and in some cases being redundant to CITE, EM or STRONG.

… and that’s IT for the deprecated tags. That’s all of them. Out of the fourteen deprecated tags, only three were truly 100% removed for being presentational, and three more could be argued as presentational but also as either redundant or bad for accessibility. Seven tags were removed as redundant, four for being bad accessibility…

… and yet people always focus on the ‘presentational’ reason – when it’s actually the smallest of them so far as tags are concerned.

Other tags that people think of as ‘strictly’ presentation also have grammatical/semantic meanings, or fill the gap when no appropriate semantic tag is availible. B and I are still in there because there are reasons content would in normal print be bold or underlined WITHOUT receiving ‘emphasis’ or ‘more emphasis’ (EM and STRONG respectively). SMALL and BIG are still in there for when size changes have meaning not conveyed by other tags – they do not neccessarily MEAN presenting it as Bold, Italic, Small or Big, it simply implies that gramattically you might make them such – just as sub and sup have a presentational meaning, they also have a grammatical one! Small for example is great for de-emphasis inside a heading (such as a tagline which is part of the heading and NOT a new heading OR separate content) since we don’t have a de-emphasis element. Think about the tags that were removed for presentational reasons – does centering text change it’s meaning or imply any meaning semantically that couldn’t be said by say… a heading tag? You center text in a paragraph, it’s still a paragraph; you center text in a heading, it’s still a heading! FONT can’t imply meaning… that’s just presentation… but B or I could be a company title, book title, it implies there’s something DIFFERENT about the text it’s applied to. Unlike span which is for presentation where there’s actually nothing noteworthy about the text to apply any meaning to.

Great example a friend of mine made years ago:

<b><i>GURPS,</i></b> <b>Steve Jackson Games’</b> flagship role-playing game, was first released in 1985. Several licensed adaptations of other companies’ games exist for the system, such as <b><i>GURPS Bunnies and Burrows.</i></b> However, <b>SJ Games</b> has no connection with <b>Wizards of the Coast</b>, producers of the <i>Dungeons and Dragons</i> RPG. <em>No <b><i>GURPS,</i></b> content is open-source.</em> <strong>Do not plagiarize <b>SJ Games</b> work!</strong>

Shows them all four used for what they are actually FOR! B and I mean bold or italic for grammatical reasons – and do NOT mean that they HAVE to be presented to the user as bold or italic since not all devices HTML was meant to output to can even HANDLE bold or italic; it’s that separation that appears to confuse people.

Because again, if you are choosing your tags based on their default appearance or behavior, you are probably choosing the wrong tags!

Though try telling that to the folks who’ve not pulled their heads out of 1997’s backside or the HTML 5 {nasty string of expletives omitted}…

I stopped reading after the list. Sorry?

But thanks, DS. How stupid of me :eyeroll:


It’s back in again. For two reasons:
reason number retard is, WYSIWYGs still use it. I don’t get that one at all.
reason number two, though, has a point… Chinese proper nouns. Since none of us are writing Chinese, though, we shouldn’t be using <u> :slight_smile:

I thought big was out?

Small I’ve always thought was perfect for legalese, and I’m glad the HTML5 people kept it in the spec pretty much for that reason. Wow. A reasonable move!

Deathshadow was referring to what is in or out in HTML 4. I(t is at least a decade or so too soon to know what will actually be in or out in HTML 5.

I still thought <big> was out though.

Nope, because like small it’s useful for when should be grammatically larger or emphasized without receiving emphasis or being a heading. That’s the ‘logical disconnect’ I think most people have with semantics – they can’t wrap their head around the notion of “big”, “small”, “bold” and “italic” having semantic meanings completely unrelated to their presentational default appearance… because those appearances may not even exist on the target device. Though at least that’s easier to explain with B or I because it’s pretty simple to come up with examples of those… like book titles and company names which are made bold or italic for grammatical reasons; we don’t need a perfect semantic tag for every one of those cases – that would just be over-complicating the specification for something that can be done with a lot less hassle.

Like HTML 5 is trying to do with all it’s extra tags for nothing.

Both tags are also useful when making a reference to the rapper <big><small>Biggie Smalls</small></big>.
Sorry , I don’t even like rap but I couldn’t resist.

Haha nice, d_p. Sigh. Semantics.