[TYPO3-v4] CSS styled content for HTML 5 (Draft attached)

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Fri Oct 8 00:00:17 CEST 2010


Ernesto Baschny [cron IT] wrote:
> Furthermore I would like to know how this concept would fit into the
> world of the "old browsers", if we need a browser-switch or what the
> recommendations from the "HTML5-guys" are about that. I must confess I
> haven't researched on that until now.

Basically you add the HTML 5 doctype <!DOCTYPE html> and you're done - 
there you have your HTML 5 website - basically. (In other words: Take 
your old (valid) HTML 4 page and exchange the doctype - voila, you have 
a completely HTML 5 valid document.)

HTML 5 is nothing new - it's just - hopefully I'm right there - an 
addition to HTML 4, backwards compatible in a huge manner.

New HTML 5 tags are NOT recognized by browsers out there, they render 
the tags - as in "they show their content" - but you need to help them a 
little bit:

Modern browsers like FF3, Safari, Chrome etc. just need a "display: 
block" on certain new elements, like "section, hgroup, header, footer, 
nav, article, aside" etc.

IE in general (may it be 6, 7 or 8) screw up the DOM when processing 
those new elements - but there a solution - adding some sort of JavaScript.

So, generally "HTML 5" is possible NOW - you just need to take care of 
WHAT you want to use and you need to provide some things for backwards 
compatibility - mostly for IE. xD

Of course there's a lot more. Would be cool to get things going for 4.5 
towards HTML 5 - I mean, it will have LTS for 3 years.

Regards,
Thomas

PS: I have NEVER used a Wiki yet - so - where to start? :>


More information about the TYPO3-project-v4 mailing list