4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 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?

2337 posts
  • Affiliate Level 5
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+7 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
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 2
+3 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.

2337 posts
  • Affiliate Level 5
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+7 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

4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 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
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 6
  • Blog Interview
+13 more
JeffreyWay
says

If you can, I recommend using:

<!DOCTYPE html SYSTEM >

415 posts
  • 6 Years of Membership
  • Author Level 5
  • Collector Level 1
  • Exclusive Author
+4 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 :)

4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 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
  • 7 Years of Membership
  • Collector Level 2
  • Exclusive Author
  • 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
  • 8 Years of Membership
  • Collector Level 2
  • Sweden
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