Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Should I be using HTML 5 for development?

Featured Replies

Ok so HTML 5 has been out for awhile now, should I be using it to create website for clients or is it not fully supported by all browsers yet?

Stick with HTML4 / XHTML1 for the time being. It will be a few years until web browsers support HTML5 enough for mainstream sites.

 

Some developers are using HTML5 but these are sites are really just to demonstrate things.

It's too early for a major site for a client, but for a private site you can probably risk it. Some features will work in some browsers, but not in others. Choose to use only those features that work or degrade without causing a problem.

 

See http://www.deepbluesky.com/blog/-/browser-support-for-css3-and-html5_72/

 

If you use CSS3 features like box-shadow or text-shadow it doesn't really matter if they don't work in a few browsers as your page still looks normal.

  • Author

Ok thanks for the advice guys. I haven't really worked with HTML 5 yet but was going to learn it, is it majorly different to XHTML (as I know XHTML)? Do you know any good sites that teach HTML 5?

Ok thanks for the advice guys. I haven't really worked with HTML 5 yet but was going to learn it, is it majorly different to XHTML (as I know XHTML)? Do you know any good sites that teach HTML 5?

 

This site (heavy reading):-

http://www.w3.org/TR/2008/WD-html5-diff-20080122/

 

Remember that you will be using HTML syntax so close elements with > not /> as in XHTML

 

See http://dev.w3.org/html5/spec/Overview.html

 

Item 1.6 HTML vs XHTML in the W3C HTML5 page says The first such concrete syntax is the HTML syntax. This is the format recommended for most authors. (So the future XHTML with content="application/xhtml+xml" will be for specialist applications, not normal websites, and IE6 will never process XHTML when written with the correct MIME type content="application/xhtml+xml".

Anything that degrades well should be used, in my opinion. HTML5 has defined a lot more form elements that appear as normal text inputs if they're not understood. This means that newer browsers will show the new elements, and older browsers will still work. A good article about HTML5 forms is right here

  • 2 weeks later...

I guess it wouldn't hurt to begin using SOME of the HTML5 tags. Like the script/style and doctype! but other things for video, make sure you have a good alternate, like flash ready for browsers which don't support it.

 

It probably would do good if you jumped on the wagon now and more and more developers are getting others to start using to mainly push along the specification of it and make it become standardised. However, it'll be a while before it's fully supported, but if you jump on now you'll understand more and more and learn new tricks down the line when it comes to newbies beginning to learn it! You'll be ahead of the competition so to speak.

In my opinion, HTML5 should be used now. For most things you can do work simple arounds (even for the video tag).

 

For example:

 

<video controls="controls" autoplay="true" autobuffer="true">
<source="video_file.mp4" type="video/mp4" />
<source="video_file.ogv" type="video/ogg" />
<!-- Enter Flash code here --!
</video>

 

Browsers that support the video tag will play either the mp4 or the ogv file. If they don't it will play the flash.

 

the other tags are easy enough to get working in all browsers (even IE6).

 

So yeah, I fully say use HTML5. I am using it perfectly fine on a couple production servers right now with no problems.

I am using it perfectly fine on a couple production servers right now with no problems.

 

Could you drop the links here please?

I use HTML5 on all of my sites (see below and check portfolio). All you really need to make sure it works properly across all browsers is

 

<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>

Could you drop the links here please?

 

 

One of them is my own site, another is a work in progress http://beta.divergentlogic.com and I also have a few which are sensitive so I can't show them. While I know the code isn't perfect (still learning the proper way to use the tags) there are other places you can see HTML5 sites such as http://html5gallery.com/

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.