Solved

Determining Document Type

Posted on 2011-09-06
2
201 Views
Last Modified: 2012-05-12
I am a novice at web design, and am trying to revise my website to conform to contemporary standards and design practices.  I would like to know which document type should be declared, and the exact statement.  The site under development is www.mauitradewinds.com/Super  Thanks!
0
Comment
Question by:ddantes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 125 total points
ID: 36490487
The doctype you are using will suffice for the current HTML content on the page. It is relatively generic and offers better compatibility. It also allows for certain liberties over more strict doctypes. For example, you don't have to have a closing tag for all opening tags (i.e., <br> instead of <br/>)
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36490584
As you were told before, the DOCTYPE should match the content that you are using.  The DOCTYPE tells the browser which set of rules you think you are using.  There are somewhat different requirements for the different DOCTYPEs even though the browser will generally try to render whatever you give it.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question