Welcome
Arachne's Web
A group focused on serving the AW community by providing help and discussion on topics such as HTML, CSS, web design, homesite decorating, netiquette and issues important to web artists.

Code Information Center (2 threads, 1007 posts)
    General Code Q&A Forum (482 posts)
    Social Thread

    Got a question regarding code? Post it here and (hopefully) someone will answer! ...
    89 Members have made 397 Posts here to date.
    Google
    AncientWorlds.net Web
    Next: Adding: target="_blank" to an anchor link
    Prev: A few XHTML Questions from the new tutorial
    XHTML Doctypes
    bithiahavatar_trans.gif
    Author: * Bithiah Nebet - 0 Posts on this thread out of 48 Posts sitewide.
    Date: Nov 5, 2003 - 07:03

    OK, some general info about XHTML Doctypes.

    A Document Type (or Doctype) Declaration generally appears at the top of the page, to let the browser know which version of HTML to expect. XHTML requires you to add this tag.

    There are three available for use: Strict, Transitional, and Frameset.

    Strict - Use it when you want really clean coding, free of deprecated tags.

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

    Transitional - The name says it all. This may contain deprecated HTML tags. This one is safer, I think, because many people still don't have the latest browsers that understand CSS.

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

    Frameset - Use it when you're working with HTML frames.

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


    NEXT: Adding: target="_blank" to an anchor link
    PREV: A few XHTML Questions from the new tutorial
Rome - Rome, Season 1 - The Stolen Eagle


Copyright 2002-2011 AncientWorlds LLC | Code of Conduct and Terms of Service | Contact Us! | The AncientWorlds Staff