Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Location
    Bangladesh
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Which is better html or html 5?

    Which is better html or html 5 for website?

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,472
    Thanks
    0
    Thanked 634 Times in 624 Posts
    HTML 5 is HTML and includes almost everything in HTML 4 as well as a lot of the things that people still use from HTML 3.2 because they can't be bothered to work out how to do it with HTML 4.

    Your question is somewhat like asking which is better between cars and 5 door cars.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Regular Coder
    Join Date
    Jun 2011
    Location
    CA
    Posts
    105
    Thanks
    0
    Thanked 10 Times in 10 Posts
    HTML4 is the code accepted by just about all browsers today.

    HTML5 contains tags that are newer and not yet implemented by all browsers.

  • #4
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,472
    Thanks
    0
    Thanked 634 Times in 624 Posts
    Quote Originally Posted by StevenHu View Post
    HTML5 contains tags that are newer and not yet implemented by all browsers.
    or older and only needed to support long dead browsers (eg. embed - only needed to support Netscape 4)
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #5
    New to the CF scene
    Join Date
    Feb 2012
    Location
    India
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Html 5 is much better

  • #6
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    HTML5 is better than HTML as it is much more advanced and much more user friendly.

  • #7
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,472
    Thanks
    0
    Thanked 634 Times in 624 Posts
    Quote Originally Posted by Govind Gupta View Post
    HTML5 is better than HTML as it is much more advanced and much more user friendly.
    By the same logic blue cars are better than cars.

    HTML 5 IS HTML. Something can't be better than itself.

    Now if you were comparing HTML 5 to a different version of HTML (eg. 4) then you can say that it is better because it contains additional useful form fields, video and audio without flash and a few other similar things.

    You can also say that HTML 5 is worse than HTML 4 because it contains <embed> which is only necessary for Netscape 4 - long dead, <iframe> which is only necessary for IE6 - recently dead - and a variety of other things that were replaced by a better way some time ago and which all modern browsers now support.

    You might also argue that HTML 5 is worse than HTML 2 because it is not being developed in accordance with the standards that apply for the development of markup languages. If the people developing it are ignoring the standards developed for developing such things then how could it possibly be 'better' than an actual standard that was developed in accordance with the standards.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    prizegrand (04-07-2013)

  • #8
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,482
    Thanks
    6
    Thanked 981 Times in 954 Posts
    Oh come on! Do we have to take these questions and the people answering them in one tiny sentence seriously? In future I’m gonna close or delete such questions right away because people with some brain will look that up on the internet in the first place.

  • Users who have thanked VIPStephan for this post:

    tracknut (04-06-2013)


  •  

    Tags for this Thread

    Posting Permissions

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