+ Reply to Thread
Results 1 to 4 of 4

 

Thread: Doctype

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Feb 2010
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts


    I Want to know what is DOCTYPE in a web page?

  2. #2
    Registered User

    Status
    Offline
    Join Date
    Sep 2005
    Location
    wherever I can get a connection
    Posts
    282
    Thanks
    33
    Thanked 9 Times in 8 Posts
    It's the document type and is declared in the first line of code, before the opening <html> tag and the <head> content. Two examples

    HTML 4.01 Transitional
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

    XHTML 1.0 Strict
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

  3. #3
    Registered User

    Status
    Offline
    Join Date
    Feb 2010
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your sharing my dear.
    Its really informative for me.

  4. #4
    boo!

    Status
    Offline
    Join Date
    May 2006
    Location
    Berkshire
    Posts
    787
    Thanks
    1
    Thanked 5 Times in 3 Posts
    DOCTYPE basically tells the browser what version of (X)HTML your Web page should be displayed in. It gives the browser a list of supported tags and does not include any deprecated or proprietary tags in the list.
    Kompound - Web design, Ruby on Rails development and iPhone app development

+ Reply to Thread


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Doctype - Is there a need to conform?
    By Riddys in forum Affiliate Marketing Lounge
    Replies: 3
    Last Post: 04-08-08, 11:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2