www.webdeveloper.com
Page 1 of 10 123 ... LastLast
Results 1 to 15 of 152

Thread: XHTML -- Still Relevant?

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    At the corner of WALK and DONT WALK
    Posts
    1,733

    XHTML -- Still Relevant?

    With the advent of HTML5, I've been wondering: is XHTML still relevant?

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,277
    Last I checked HTML 5 wasn't yet advented. And XHTML works very well for certain things.

  3. #3
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    XHTML may have been a big-selling buzz word, but as far as I'm concerned, it was never truly relevant (at least for the general web). Plenty of people used the XHTML doctype and added self-closing slashes, but virtually all of them nonetheless served their pages as text/html, which means as far as the browser is concerned, the markup was still just plain old HTML. And since pages were being served as plain old HTML, none of the promised XHTML goodies ever materialized, such as being able to mix in new markup languages like MathML.

    But if the point of your question is whether XHTML is still a top-selling buzz word, I'd have to say no. HTML5 is definitely the new top-selling buzz word.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  4. #4
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    I always (for the last year or two, that is) use the "HTML5" doctype and just try to ensure my markup can be parsed as XML. Honestly, I dont see a good reason to use any doctype other than the generic "HTML5" doctype. Whether you take advantage of the new functionality is really another matter.

  5. #5
    Join Date
    Dec 2010
    Posts
    60
    Quote Originally Posted by svidgen View Post
    I always (for the last year or two, that is) use the "HTML5" doctype and just try to ensure my markup can be parsed as XML. Honestly, I dont see a good reason to use any doctype other than the generic "HTML5" doctype. Whether you take advantage of the new functionality is really another matter.

    I do the same exact thing. I don't use a wysiwyg editor so I type everything out by hand, and typing the xhtml doctype or the html 4 doctype is just to time consuming and useless. I use the HTML5 doctype.

  6. #6
    Join Date
    Nov 2002
    Posts
    2,632
    It's relevant like IE7 is relevant. I just think people using it are only doing so until HTML 5 officially hits and that's considering the number of people who were using it in the first place. As mentioned before, just use the HTML 5 Doctype even if you are basically using HTML 4.01.

    Quote Originally Posted by pdiddles03 View Post
    I do the same exact thing. I don't use a wysiwyg editor so I type everything out by hand, and typing the xhtml doctype or the html 4 doctype is just to time consuming and useless. I use the HTML5 doctype.
    It's called a template. Use one.

  7. #7
    Join Date
    Jan 2011
    Posts
    123
    Quote Originally Posted by Jeff Mott View Post
    XHTML may have been a big-selling buzz word, but as far as I'm concerned, it was never truly relevant (at least for the general web). Plenty of people used the XHTML doctype and added self-closing slashes, but virtually all of them nonetheless served their pages as text/html, which means as far as the browser is concerned, the markup was still just plain old HTML. And since pages were being served as plain old HTML, none of the promised XHTML goodies ever materialized, such as being able to mix in new markup languages like MathML.

    But if the point of your question is whether XHTML is still a top-selling buzz word, I'd have to say no. HTML5 is definitely the new top-selling buzz word.
    how do I vote this one up?

  8. #8
    Join Date
    Dec 2010
    Posts
    60
    Why use a template when I can type it out by hand myself and make it exactly the way i want. Also, people are making a big deal about all of this, I don't see a real big difference between xhtml, and html 4 and html 5 besides a few tags here and there are supported and not supported. Use whatever works for you. I don't think html5 is the big thing, I have lately been using css3 and jquery and those are the big things. They create attractive sites.

  9. #9
    Join Date
    Nov 2002
    Posts
    2,632
    Quote Originally Posted by pdiddles03 View Post
    Why use a template when I can type it out by hand myself and make it exactly the way i want.
    Because when a new docytype comes out I write it once and never have to deal with it again. It's not like there's that much room for customization in a doctypes either. Also, if you aren't using templates and this means when you make a page you start off with a blank one and write everything out, it means you have more time than I do.

  10. #10
    Join Date
    Jan 2011
    Posts
    123
    " jquery and those are the big things"
    handcoding is a mark of pro
    but libraries; jquery is for use by amateurs and charlatans.

    what is jquery?!!

  11. #11
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    Quote Originally Posted by Troy III View Post
    " jquery and those are the big things"
    handcoding is a mark of pro
    but libraries; jquery is for use by amateurs and charlatans.

    what is jquery?!!
    lulz.

    I'm not such a fan of jquery either. Most obfuscated nonsense on the planet, IMO. Jquery is the only library on the planet that produces more hideous Perlisms than Perl.

  12. #12
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,277
    Quote Originally Posted by svidgen View Post
    lulz.

    I'm not such a fan of jquery either. Most obfuscated nonsense on the planet, IMO. Jquery is the only library on the planet that produces more hideous Perlisms than Perl.
    Please don't be so unkind to Perl. We were close once, the two of us.

  13. #13
    Join Date
    Dec 2005
    Posts
    2,984
    Quote Originally Posted by svidgen View Post
    lulz.

    I'm not such a fan of jquery either. Most obfuscated nonsense on the planet, IMO. Jquery is the only library on the planet that produces more hideous Perlisms than Perl.
    Try it and you might change your mind. I was the same way once when it came to jQuery and then I was blown away one day when I tried it and realized how much faster it makes working with dynamic UIs in the browser.

    If you don't like it, then come up with something better.

  14. #14
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    Quote Originally Posted by aj_nsc View Post
    Try it and you might change your mind. I was the same way once when it came to jQuery and then I was blown away one day when I tried it and realized how much faster it makes working with dynamic UIs in the browser.

    If you don't like it, then come up with something better.
    I've given it (using jquery) some serious consideration. I haven't yet been in a situation where it'd produce better code or save time writing the code to use jquery. But, I keep it in mind.

    But actually -- there is one effect that jquery might have helped with in retrospect. There's a fade effect on this page when a new post is made: http://www.thepointless.com/something ... I think jquery can do that. But, I enjoyed writing the fade. And it's a personal project site ... I'm more interested in playing with code there than I am "being productive" or "saving time."

  15. #15
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    Quote Originally Posted by Troy III View Post
    ...but libraries; jquery is for use by amateurs and charlatans.
    Among the top 10,000 sites -- sites very likely not built by rank amateurs -- jQuery is used on half of all those sites. You may not personally like jQuery, but don't for a moment think it's for amateurs. A very large number of pros use it and love it.
    Last edited by Jeff Mott; 03-30-2012 at 08:51 AM.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles