Solved

Determining Document Type

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
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…

743 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

14 Experts available now in Live!

Get 1:1 Help Now