Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Browser Side
/
HTML
3:36 pm Jun 23, 2026
This page requires javascript.
Forum Moderators:
open
Message Too Old, No Replies
Best and recommended doctype declaration for html code
born2run
Msg#:4813907
4:04 pm on Jul 29, 2016
(gmt 0)
Hi what's the ideal and recommended doctype declaration for a website with mobile and desktop visitors?
whitespace
Msg#:4813914
4:54 pm on Jul 29, 2016
(gmt 0)
In 2016 it's easy, HTML5 DOCTYPE for everything...
<!DOCTYPE html>
It's backward compatible, meaning that it triggers "standards mode" (or "almost") in old browsers, such as IE6.
(BTW this is an HTML question, not Apache.)
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
May
,
Apr
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
June 2026 Google Search Observations
Quite quiet in here, anyone know why?
AdSense Earnings and Observations - June 2026
2025 Link Building Trends and Insights
Most people don't read anymore
Big websites now dead (due to company decisions)
Home
Forums Index
Browser Side
/
HTML
3:36 pm Jun 23, 2026