Results 1 to 3 of 3

Thread: Doctype declaration

  1. #1
    Join Date
    Sep 2013

    Red face Doctype declaration

    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,

  2. #2
    Join Date
    Mar 2012
    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
    Well below is the link where you can find doctype declaration for your validation code.


    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