Results 1 to 4 of 4

Thread: [RESOLVED] Doctype??

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Resolved [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"

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    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.

  3. #3

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Doctype??

    ok.. thanks!!
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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
  •  



Click Here to Expand Forum to Full Width