|
DOCTYPE
|
|
09-10-2007, 03:16 PM
(This post was last modified: 09-10-2007 03:17 PM by bpsujith.)
Post: #1
|
|||
|
|||
|
DOCTYPE
What is the need for the code given below in a web page.
some java script , styles (scroll bar colour changing) works only if the code removed... (DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd) |
|||
|
09-11-2007, 03:23 PM
Post: #2
|
|||
|
|||
|
RE: DOCTYPE
DOCTYPE is not a html tag or,XHTML element.Always this will appeare at the top of your documents.DOCTYPE define the type of document of the page,
(DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd) This is an optional URL indicating where the DTD (Document Type Definitions )for this DOCTYPE can be found. |
|||
|
09-18-2007, 06:37 PM
Post: #3
|
|||
|
|||
|
RE: DOCTYPE
DOCTYPE tells the browser which version of HTML the page is using. The Doctype tells the browser what language is used, and where the base DTD is located. So that the browser can render the page according to the DTD . Its always a good practice to use the appropriate doctypes with your html pages.
|
|||
|
10-11-2007, 06:03 PM
Post: #4
|
|||
|
|||
RE: DOCTYPE
albinjoseph Wrote:DOCTYPE tells the browser which version of HTML the page is using. The Doctype tells the browser what language is used, and where the base DTD is located. So that the browser can render the page according to the DTD . Its always a good practice to use the appropriate doctypes with your html pages. but the problem is that some java script , styles (scroll bar colour changing) works only if the code removed... |
|||
|
10-11-2007, 08:00 PM
Post: #5
|
|||
|
|||
RE: DOCTYPE
bpsujith Wrote:but the problem is that The DOCTYPE you are using may be incompatible with the style information. Not sure :-) |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)





