dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: DOCTYPE Help For Charity Website

  1. #1
    Join Date
    May 2011
    Posts
    1

    DOCTYPE Help For Charity Website

    Good morning everyone. I am building a website for a charitable organisation, imove estate agents cornwall. I am a little bif of a newb and I understand that on this page:

    http://www.imovecornwall.org/index.htm

    I should have a DOCTYPE in the HTML. My question is, What DOCTYPE should I use?

    Page has frames and a flash sldieshow.

    Any assistance wuld be very much appreciated.

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    You may use either a HTML or an XHTML, depending how you have coded. As far as I can see, you have mixed up the HTML way of coding with XHTML way, which is not good. Make up your mind:

    - either you use an HTML Doctype and write the non-empty tags (link, img, meta, etc) in a HTML way: <link>, <img> <meta>, etc
    - or you use an XHTML Doctype and close the non-empty tags in an XHTML way: <link />, <img /> <meta/>, etc

    But not both on the same document, as it is now in your site.

  3. #3
    Join Date
    Jun 2006
    Location
    Yorkshire, England
    Posts
    109
    Whats the difference between html & xhtml ? Is it just the way tags are closed etc?

    When should it be applied?

  4. #4
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    http://reference.sitepoint.com/css/htmlxhtml
    It does not matter which one you use. HTML strict is as better as XHTML strict.

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