Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: HTML/CSS  (Read 2975 times)

0 Members and 1 Guest are viewing this topic.

Lorac50

    Topic Starter


    Greenhorn

    HTML/CSS
    « on: February 14, 2009, 09:25:22 PM »
    Hello everyone,

    I went to the library and booked out 4 books on HTML.  My question is I've been seeing XHTML in some of the books but not in the others, what should I use.
    Also do I have to put this
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    at the top of my page, before I write HTML and why?

    Thanks a bunch
    Lorac :)

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: HTML/CSS
    « Reply #1 on: February 14, 2009, 09:38:43 PM »
    HTML is based on "SGML", XHTML is based on XML which is itself based on SGML.

    For standard HTML a header is not 100% necessary, but with XHTML I believe it is a requirement.
    I was trying to dereference Null Pointers before it was cool.

    Lorac50

      Topic Starter


      Greenhorn

      Re: HTML/CSS
      « Reply #2 on: February 14, 2009, 09:40:19 PM »
      Hi BC

      Thank you very much for such a prompt reply.

      Have a great night
      Lorac

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: HTML/CSS
      « Reply #3 on: February 14, 2009, 09:49:24 PM »
      Any more questions just ask :)
      I was trying to dereference Null Pointers before it was cool.

      kpac

      • Web moderator
      • Moderator


      • Hacker

      • kpac®
      • Thanked: 184
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 7
      Re: HTML/CSS
      « Reply #4 on: February 15, 2009, 05:12:46 AM »
      Extensible Hyper Text Markup Language is an upgrade to Hyper Text Markup Language and is also future standards compliant.

      XHTML is stricter than HTML, so you have to watch how you code your site. As XHTML is future proof though, it would be better to use it over HTML.

      Did you ever see a    icon on some sites? This means they are XHTML compliant. You'll see it mainly on forums, content management systems and portals.

      Hopefully that answered your questions. ;)