tags:

views:

27

answers:

1

Is it good to not to use any TAG which is not supported in HTML 5, If i'm using XTML 1.0 strict now?

These elements are not supported in HTML 5 but in XHTML

acronym big tt

then if future when i will change my doctype to html 5 then i would not need to replace or change any code to pass validation?

this is also accepted as valid code in an attempt to ease the pain for avid XHTML coders (like myself) who are used to self-closing elements:

<tag  type="type" id="name"/>

The same rules apply to and other self closing elements.

+1  A: 

Yes, it would be a good idea to plan ahead for HTML5 support. Check here for a list of deprecated tags and attributes to avoid.

As far as XHTML syntax (always closing tags, self closing tags, etc) you can continue to use that without worry. HTML5 can be written using standard HTML syntax or XHTML syntax, though it always remains just HTML.

Doug Neiner
but one thing which i wanted use which is not supported in HTML 5 is <noscript?
metal-gear-solid
I rarely if ever use JS. I work the other way around. See here for my method of handling non JS content: http://stackoverflow.com/questions/2233771/how-can-i-show-different-content-when-javascript-is-disabled/2234062#2234062
Doug Neiner