Solved

Determining Document Type

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

912 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now