Hi guys!

I was using Dreamweaver and I have always wondered what the big differences were in the different docTypes... can't you use the HTML5 features on XHTML 1.0 Strict?

Sorry if this question is ridiculous... but I am curious to know the answer!

5 Years
Discussion Span
Last Post by JorgeM

XHTML strict doesn't allow some attributes that XHTML transitional does such as target="_blank"


So what if i were to use the html5 and css3 features, what would happen?


If you added HTML5 elements while using an XHTML Doctype, the page would not pass validation.

You probably should be using the HTML5 Doctype for all of your existing and new web projects.

This doesnt mean that you have to include any new HTMl5 elements. It also doesnt prevent you from using a strict type of HTML markup such as making sure that all of your elements and attributes are in lower case, or making sure that all of your elements that have a starting tag also have a matching ending tag. That your singleton elmenents (img, br) include a forward slash prior to the greater than symbol at the end of the tag, etc...


Okay, that answers my question :)... that explains my new avatar :)...

Here is a bunny for you!:
( '.')

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.