www.webdeveloper.com
Results 1 to 3 of 3

Thread: Doctype declaration

  1. #1
    Join Date
    Sep 2013
    Posts
    1

    Red face Doctype declaration

    Hello,
    I've just finished my first website and I'd like to validate it, however, I need to know the 'Doctype declaration' and I don't have a clue.
    I've tried lots of standard ones given by W3C and other helpful HTML websites but none of them is right.
    You can visit my website if that helps: www.floatingpenguin.co.uk

    Thanks a lot,
    Inma

  2. #2
    Join Date
    Mar 2012
    Posts
    1,489
    You have not said what is supposedly wrong with the doctype? I cannot see anything wrong with it, except that, if it is a new site I would suggest it should be coded to HTML5 standards, not HTML 4 (loose). As to the coding in general:

    1. Why is it written using tables? That is a somewhat out-of-date coding style. Nowadays it should be written in DIVs.

    2. Why is it written fixed width? Another out-of-date coding style, which is unsuited to the growing mobile users.

    3. What purpose does the JavaScript serve? The look and feel of the site is very basic HTML, with no need for JS.

    Overall - A very mediocre site that is similar to my own first web site. My excuse for the use of obsolete code is that I wrote it five years ago, and I've subsequently rewritten it from scratch! What is your excuse?

  3. #3
    Join Date
    Sep 2013
    Posts
    221
    Well below is the link where you can find doctype declaration for your validation code.

    http://www.htmlbasictutor.ca/doctype-declaration.htm

    Hope this helps.
    strad solutionswww.stradsolutions.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles