Solved

Determining Document Type

Posted on 2011-09-06
2
200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tool to email me when a website changes 29 148
How to write an English digest paper 6 149
Code Coverage and Coding Standards 2 82
Passing client data from form to server 5 56
Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

751 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