SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Any HTML5 fan?

  1. #1
    SitePoint Member umairhp's Avatar
    Join Date
    Jan 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Any HTML5 fan?

    Hey guys. I wanted to know how effective is HTML 5 for designing new websites. And how is it different from the old version? What are the new features?

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    HTML5 adds some new features to HTML that may or may not be good ones, depending on your perspective. It's still in development, though, so its use is a bit premature right now ... often needing JavaScript to make it work. As for its features, you really should do some research. There are lots of sites that detail what's new in HTML5.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,788
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    HTML 5 currently proposes adding a number of useful additions as well as a few things that make no sense. Hopefully the things that make no sense will be removed before it becomes a standard.

    A few examples of some of what makes no sense.

    1. Addition of the <embed> tag - only required to support Netscape 4 as all browsers more recent than that support the <object> tag which is the HTML 4 standard way to embed objects. It seems a bit late to be considering adding something only needed to support a long dead browser. (embed was a proprietary Netscape tag that some other browsers support)

    2. Addition of the <iframe> tag to cater for the fact that IE6 doesn't allow you to turn off the borders when you use the standard <object> tag for the purpose. Again a bit late considering that IE6 should also be dead by the time HTML 5 becomes a standard. (iframe was an IE proprietary tag that most other browsers also support - HTML 4 flagged it as obsolete even though it was never part of the prior standard).

    3. Addition of the "required" attribute to input fields. Since HTML 5 is also adding a "pattern" attribute and since the pattern can easily specify whether the field is required or not the pattern attribute makes the required attribute obsolete. With both there you can spcify that a field is mandatory and must be empty both at the same time.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm working on making what I call HTML 5 hybrid sites. It is a hybrid since the standard isn't official and browser support is all over the place depending on what new HTML 5 item you are using. Case in point, Android's support of HTML 5 forums is one step up above non-existent.

    Reference
    http://www.wufoo.com/2012/04/11/the-...forms-updated/

  5. #5
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by spufi View Post
    the standard isn't official and browser support is all over the place depending on what new HTML 5 item you are using.
    That's why there are various JS polyfills. I don't know why people are bothering with this, but I guess it's worth being aware of, anyhow.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Tags for this Thread

Bookmarks

Posting Permissions

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