4327 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says

Guys, I’ve been wondering this for a while, I google all the time about this but I want to know what you think here at TF. Some people say Transitional others sasy Strict, there are articles saying “How to choose the correct Doctype” but, what’s better for our needs here at ThemeForest. What do you prefer?

2324 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+6 more
CreativeMilk says

Well i use strict because what i know is that this is the better way of coding. What i know is that Transitional came first and then came Strict (correct me if i am wrong)

But good question whats better

33 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
Enru_Chem says

I think strict is the more preferred method at ThemeForest since the markup is done in the css file it.

Transitional allows for and tags, making it less clean and harder to make changes across a large spectrum.

2324 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+6 more
CreativeMilk says
I think strict is the more preferred method at ThemeForest since the markup is done in the css file it.

Transitional allows for and tags, making it less clean and harder to make changes across a large spectrum.

Thats why it’s called strict :P

4327 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says

Look, is really interesting this conversation… Read this article they say “Why Transitional Doctypes are Better for Wordpress Blogs?” my actual theme and the next theme are made it in HTML Strict but I want to convert my themes to WordPress… That’s why I asked this.

@Csslab says: ” for CMS , when you lose the control of the published content, yes, transitional is better…”

@Onuro says: ” I never bother with strict unless a client asks for it =)”

So, re-ask yourself, what’s better for us?

2529 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Interviewed on an Envato blog
+11 more
JeffreyWay says

If you can, I recommend using:

<!DOCTYPE html SYSTEM >

415 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 1+ items on Envato Market
  • Located in Europe
  • Sells items exclusively on Envato Market
+2 more
osigrandi says

Use strict even if you code for WordPress. I’m almost done with a theme for WP 2 .8 and the only error I received when validating is related to an attribute added for screen readers.

Which is not a big deal at all :)

4327 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says
If you can, I recommend using: <!DOCTYPE html SYSTEM >

Jeffrey is right, almost all browsers understand this Doctype. Jonh Resig says:

...What’s nice about this new DOCTYPE , especially, is that all current browsers (IE, FF, Opera, Safari) will look at it and switch the content into standards mode – even though they don’t implement HTML5 . This means that you could start writing your web pages using HTML5 today and have them last for a very, very, long time.

Source

Thanks :D lets use <!DOCTYPE html SYSTEM > then.

2 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United States
Anubis says
If you can, I recommend using: <!DOCTYPE html SYSTEM >

That’s it? Nothing else? Please elaborate! By the way Jeff, your site jeff-way.com is sweet.

7 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 10+ items on Envato Market
Johan says

The way I’ve always done it is using strict while developing and validate against. And when it’s time for release I switch the doctype to transitional. I think I need to read up a bit on HTML5 before my next project.

by
by
by
by
by
by