Solved

Determining Document Type

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

Independent Software Vendors: 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
How do you troubleshoot Javascript conflicts on a Bootstrap webpage? 3 465
installing and using WTP plugin eclipse MARS 3 134
Contact Forms for Website 6 84
React or Angular? 6 86
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

679 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