XHTMl/CSS vs HTML

Discussion in 'HTML & Website Design' started by iidesign, Dec 31, 2008.

  1. #1
    Hello,

    I'm posting this thread today to try to understand the difference between XHTML/CSS and HTML. I searched google and really didn't find much besides basic coding, but yet the coding for xhtml look pretty much exactly like html. Could someone please clear this up for me as I'm trying to get a better understanding of XHTML. Also could you please post me some good tutorials sites for xhtml/css, I'd really appreciate and anticipate for your replies.

    Thanks :)
     
    iidesign, Dec 31, 2008 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    XHTML is XML reformulated for HTML. To use it properly, you should serve it as application/xml+xhtml, but very few people do this. In addition, XHTML does not work in IE and Microsoft has no plans to ever support XHTML. So it gets interpreted as "tag soup" or, iow, broken HTML.

    Since it gets interpreted as broken HTML, why bother? That's a point of contention among some people. Personally, I use proper and valid HTML though I long for the day I can use XHTML which does work properly on all modern browsers (meaning not IE).
     
    drhowarddrfine, Dec 31, 2008 IP
  3. iidesign

    iidesign Peon

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That's something I did not know. And I'd say the majority of people use IE.
     
    iidesign, Dec 31, 2008 IP
  4. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    drhowarddrfine is correct. For detailed information and examples visit ..........

    http://jp29.org/test.php
    http://jp29.org/testx.html

    JFP
     
    jamesicus, Dec 31, 2008 IP
  5. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #5
    Just under 70% and declining.
     
    drhowarddrfine, Dec 31, 2008 IP
  6. Ritch

    Ritch Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Shame isn't it :(
     
    Ritch, Dec 31, 2008 IP
  7. NathanCH

    NathanCH Well-Known Member

    Messages:
    806
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    110
    #7
    No. IE is the worst browser out there. And I guarantee 99.9% of professional web designers and developers would agree with me.
     
    NathanCH, Dec 31, 2008 IP
  8. Pixel T.

    Pixel T. Well-Known Member

    Messages:
    1,205
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    170
    #8
    Yup. I agree. Once I switched to Firefox, I actually went around my families computers and switched them to Firefox.

    Doing a lot of webdesign, I feel Firefox is easier to code with, so mostly I check my work on it and then change the code up at the very end for all the other browsers.

    I took a look at my website stats and probobly 80% of my visitors are using Firefox.

    Thats my 2 cents
     
    Pixel T., Dec 31, 2008 IP
  9. justinlorder

    justinlorder Peon

    Messages:
    4,160
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #9
    justinlorder, Dec 31, 2008 IP
  10. sandro13

    sandro13 Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    well i usually use html although it may have pros and cons of xhtml and xml so its best that i tried everything and see the difference.
     
    sandro13, Jan 1, 2009 IP
  11. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #11
    .......... and XHTML+RDFa via the Semantic Web

    JFP
     
    jamesicus, Jan 1, 2009 IP
  12. iidesign

    iidesign Peon

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks for all the replies everyone. Really appreciate it.
     
    iidesign, Jan 1, 2009 IP
  13. Website Tiger

    Website Tiger Guest

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #13
    True IE sucks but me as a web developer I make sure my work runs in IE the way I want then Firefox. Why? because without a doubt most people use IE. I've been to other countries and lived in a different country and people don't even know what Firefox is. Firefox is popular in US but in other countries not so much.
     
    Website Tiger, Jan 1, 2009 IP
  14. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #14
    All web pages should be composed to be interoperable, that is, functional in all User-Agents (graphical Browsers, textual Browsers, Screen Readers, Search Engines & hand-held devices).

    JFP
     
    jamesicus, Jan 1, 2009 IP
  15. Website Tiger

    Website Tiger Guest

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #15
    What I meant was that I first code the design so it works fine in IE then fix up the codes so the website works on all browsers.
     
    Website Tiger, Jan 1, 2009 IP