Discussion on:

2
Comments

Join the conversation!

Follow via:
RSS
Email Alert
If you want to use these new elements but are afraid of them not working there is a simple plug-in that will add these elements to old versions of CSS. I have viewed my new pages in an older browser only to find that the new elements are completely ignored, leaving my content without style!

Here is a temporary solution until the world catches up with us:
http://code.google.com/p/html5shim/

It's a little JavaScript file that you include in your header. It puts all of the new HTML5 elements in to the CSS table so that your code can be loaded in to them just like they were "classes" or "IDs".
The example given has an lte IE9 hack on it but you can use this code for all of the older browsers. I have tested it and it works as advertised.

So go forth and code without fear of disgraceful degredation.
I enjoy working with the new HTML and have started using it extensively for personal projects.

And I would guess that if you are developing for mobile devices, you will have minimal problems with HTML5.

But regular desktop browsers, even the most recent ones, don't implement all the new features. So if you are a mainstream web developer you really have to know your way around browser compatibility.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.