|
-
Jan 12th, 2006, 10:08 AM
#1
[RESOLVED] Doctype??
ok.. It has been so long since ive done web programming...
How the heck to I pick the correct DOCTYPE???
and what about the encode??
here is the head section...
Thanks!
Code:
<HTML>
<title></title>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="keywords" content="">
<meta name="description" content="">
<LINK REL=StyleSheet HREF="body.css" TYPE="text/css" MEDIA=screen>
<LINK REL=StyleSheet HREF="default.css" TYPE="text/css" MEDIA=screen>
<script type="text/javascript" src="oodomimagerollover.js">
/***********************************************
* DOM Image Rollover II- By Adam Smith (http://www.codevendor.com)
* Script featured on and available at Dynamic Drive (http://www.dynamicdrive.com)
* Keep this notice intact for usage please
***********************************************/
</script>
<script type="text/javascript" src="slideshow.js">
</script>
<script type="text/javascript" src="floatmenu.js">
</script>
</head>
sooo...???
Last edited by Static; Jan 26th, 2006 at 10:58 AM.
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jan 12th, 2006, 10:19 AM
#2
Re: Doctype??
If you know how to use modern HTML, you use the HTML 4.01 Strict DOCTYPE.
If you don't, you use the HTML 4.01 Transitional DOCTYPE.
http://www.w3.org/QA/2002/04/valid-dtd-list.html
Content-type should be set to "text/html; charset=xxx", where xxx is the charset your files are saved in. What that is depends on the program you used to create the files, but on Windows, unless you're using a proper text editor, chances are it's Windows-1252.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 12th, 2006, 10:28 AM
#3
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jan 14th, 2006, 08:43 AM
#4
Re: [RESOLVED] Doctype??
Your HTML doesn't look valid in any modern context. But if I were you I'd pick HTML 4 Strict or XHTML, which forces you to use strict clean markup.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|