Skip navigation
Currently Being Moderated

Should I switch to HTML 5?

Jun 23, 2013 8:07 AM

Tags: #html #5

I upgraded to CS6 and discovered a new page template for creating new documents - HTML 5. So I took a closer look at it, and it sounds cool, but I'm a little hesitant because it's still a work in progress.

 

I develop websites/CMS's powered by PHP and MySQL on a Mac. When I first got into web design several years ago, I was quick to embrace new technology, like XHTML. I changed all my closing tags from > to />, only to discover that many pros on this forum were sticking with HTML.

 

When I finally realized I wasn't getting any extra benefits for my labor, I switched back to HTML.

 

So I'm wondering how solid HTML5 is. It sounds like it's hear to stay, and it already adds lots of cool features, right? What are some of the major drawbacks of switching to HTML5?

 

One practical problem for me is converting all my closing tags back to />. I can probably find some sort of regular expression that will fix all my images in local files, but how can I convert images in database tables? It looks like the break tag doesn't need a backward slash in HTML5. Are there any elements besides images that I would have to add the backward slash to?

 

Thanks.

 
Replies
  • Currently Being Moderated
    Jun 23, 2013 8:26 AM   in reply to Geobop

    It's an undertaking to go back and redevelop a site if there is no business reason.  If you develop sites for a living then I would wait until your customers need a redesign or have a business need for it.  Also I would start to look at HTML5/CSS3 and responsive design for your newer customers moving forward.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2013 9:57 AM   in reply to Geobop

    I am managing a pretty good-sized number of sites and, to the extent I need video, I have converted just those sites to HTML5.

     

    New websites start out in HTML5.

     

    Fact is, the last standards for the worldwide web were written in 1999. And those standards tend to work in all browsers, save Microsoft browsers, which aren't consistent even within their own standard. So a website built using XHTML 1.1 transitional or HTML4 is perfectly valid and supportable—except for video.

     

    With respect to video, switching a website from XHTML or HTML4 to HTML5 is really simple. I have tended to not rewrite the site and simply changed the declaration, included the HTML5 Shiv, inserted the video tag and the video link and moved on. Everything works, everything is fine and everything degrades nicely in the non-compliant Microsoft browsers.

     

    Within the <video> declaration, I encourage everyone who cannot see the video to upgrade to a modern browser, like Firefox, Chrome or Safari.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2013 10:13 AM   in reply to Geobop

    Personally I have NOT moved to html5 yet although I know most of the new tags, I dont really give a hoot if you use:

     

    <footer></footer> or <div id="footer"></div>

     

    Who cares really, both work, both do a job. I'm not into all this semantic crap to that extent. Most clients just want the site to 'visually' work x-brower - they don't give a toss about the code whether it validates or not or you use images to create shadows/gradients or css3.

     

    I'm not sure my opinion will change until IE8 is completely dead, its not at the moment.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2013 1:15 PM   in reply to osgood_

    Actually, I find <section> <article> and <aside> very useful. But that's me. If you're not using <canvas> or <video> with respect to what you are doing, HTML5 is probably not necessary, as Osgood is correct. The semantic naming of a div may not be any different in XHTML or HTML4 than the new semantic conventions of HTML5.

     

    HTML5 is not a standard yet. It is just a proposed standard. Thus, there is no requirement that we use it. But since it's a proposal that is pretty complete, now might be the time to ease into it.

     

    -Mark

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2013 2:05 PM   in reply to osgood_

    I use HTML5  in pretty much everything now. I see no reason NOT to use it.  HTML5's intelligent forms rock!  

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2013 5:53 PM   in reply to Geobop

    I became disenchated with HTML5 when I tried this: <a href="image.jpg" download="image.jpg">Download Your Image</a> and it only worked in FF and Chrome on a Mac and Chrome on Windows.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points