HTML 4.01 transitional versus XHTML 1.0 transitional

Discussion in 'HTML & Website Design' started by Dr Web, Dec 28, 2007.

  1. #1
    Hi

    This is my new wp theme, was not designed by me, I just tested the validation and it pass the HTML 4.01 transitional and CSS, but, not XHTML 1.0 transitional, strict or frameset.

    Is this important? Also, can someone explain me the differences between strict, transitional and frameset?

    Another question, how can I know if the theme is tableless?

    URL to the theme:
    http://www.skatepage.net/wordpress/wptest/wordpress/index.php?wpadmintheme=dr+web+blog

    URL to the validator markup: http://validator.w3.org

    Thanks very much for any help.

    Dr Web
     
    Dr Web, Dec 28, 2007 IP
  2. mds

    mds Active Member

    Messages:
    256
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    If all your css file is generated from an external .css file and linked to your page then you can validate as strict
    If your css is within the page, then you can validate as transitional.

    If the document was defined as an html transitional or strict, it cannot validate as xhtml strict or transitional. they all have different coding practices and tagging system.
    I hope that helps
     
    mds, Dec 28, 2007 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Strict is strict, transistional is transitional. If you're validated as HTML4 transistional, and that's what your doctype IS, there's no reason to try to validate an HTML4 site as XHTML. They are two different things. Either is fine (though a preference for strict is better, but you'll likely never get that with a template, they're too badly written).

    Strict follows ALL the rules for whichever doctype you're using, be it HTML4.01, XHTML1.0, or XHTML1.1. Transitional means you're allowed to be sloppy and fudge on stuff. It lets bs like widgets and adsense and other crap to sit okay on a site, lets you use the deprecated stuff like "target" etc. Frameset, I dunno, everyone's encouraged NOT to use framesets. I think it's a special type for those pages still stuck in frames.

    Anyone can tell if a page is with or without tables. You can, too. If you see the tag <table> and it's associating tags <td> and <tr> then that's a table. Tables aren't bad but they're still being used to build whole sites which wasn't the purpose of the <table> tag in the first place. A "table-less" design usually has <div> which means divider I think. It's basically a box. A page isn't necessarily better because it's written with <div> instead of <table>... plenty of crappy sites are written with <div> too. : )

    I'm actually surprised the template passed validation at all. Good job.
     
    Stomme poes, Dec 28, 2007 IP
  4. Dr Web

    Dr Web Banned

    Messages:
    475
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Both responses are very good, I understand now that the theme was well coded.

    Thank you very much for your time and effort.

    Dr Web
     
    Dr Web, Dec 28, 2007 IP
  5. EIx

    EIx Peon

    Messages:
    170
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    1 more remind : tableless =/= quality code
     
    EIx, Dec 28, 2007 IP