deprecated elements in (X)HTML strict (Design/Themes)

by Alfie ⌂ @, Vienna, Austria, Wednesday, April 15, 2009, 00:11 (3931 days ago) @ Auge

Hello Auge & Arnd!

What I'm just wondering: isn't <small> a non-semantic tag like <b> and <i>?

Yes it is.

No it isn't. :-D (SCNR)
OK, to be serious, it depends on the context (do we assume that CSS is available or not). <u>, <strike>, and <s> are deprecated since HTML 4.01 strict.
The separation of content [(X)HTML)] and layout (CSS) is a wonderful thing, but mainly for the developer of the website. In most cases results of



<p><span class="underline">foo</span></p>


.underline { text-decoration:underline; }

or even worse

.underline { border-bottom:thin solid black; }

will look very similar at the client, but the HTML is simply larger.

A nice historical overview by Tim Tepaße at Jeena's Blog is based on his post in the SELFHTML-Forum in 2005. Great to read (sorry folks, German only).

Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)

Complete thread:

 RSS Feed of thread

powered by my little forum