-
[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...???
-
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.
-
Re: Doctype??
-
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.