|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
LearnWebDesignOnline.com
![]() ![]() ![]() ![]() Join Date: Aug 2005
Location: United State
Posts: 514
|
Should I be using HTML5?
I have not been using HTML5 because I thought it to be still "too new". But then I heard that Google Wave was built as a HTML5 app. So I thought, "if Google is using HTML5, perhaps I should too"
Should I start using (and learning) HTML5? |
|
|
|
|
|
#2 |
|
Courage, Telemachos
![]() ![]() Join Date: Mar 2009
Location: Melbourne, Australia
Posts: 1,422
|
You can certainly use the HTML5 doctype, as lot of sites are doing, and a few of the new tags, but I'm not sure how many new features are really supported by browsers, so it is not time to use it properly yet.
Here is a useful guide: http://articles.sitepoint.com/articl...napshot-2009/3 |
|
|
|
|
|
#3 |
|
Programming Since 1978
![]() ![]() ![]() ![]() Join Date: Sep 2005
Location: Sydney, NSW, Australia
Posts: 10,811
|
The HTML 5 doctype is identical to the short version of the HTML 2 doctype and so is valid for any version of HTML except HTML 1.
Most sites still use a lot of HTML 3.2 code and haven't finished transitioning to HTML 4 so it will be a long time before HTML 5 has any significant use - especially since it is still years away from being finalised. |
|
|
|
|
|
#4 |
|
SitePoint Mentor
![]() Join Date: Oct 2006
Location: New Zealand
Posts: 2,297
|
Like felgall says, you can use the doctype, just not the HTML5 specific code itself. The only real advantage is that the doctype is slightly shorter than HTML4 or any of the XHTML ones.
|
|
|
|
|
|
#5 |
|
SitePoint Member
Join Date: Jan 2009
Posts: 6
|
To be honest, you always have to support older browsers cause not all users update to the latest and greatest, so I don't thin HTML5 is going to become truly useful for another two years or so at least.
|
|
|
|
|
|
#6 |
|
SitePoint Zealot
![]() ![]() Join Date: Oct 2008
Posts: 176
|
Google now use HTML4, the HTML5 Coming need a long time, so i think not need to start using it.
|
|
|
|
|
|
#7 | |
|
Programming Since 1978
![]() ![]() ![]() ![]() Join Date: Sep 2005
Location: Sydney, NSW, Australia
Posts: 10,811
|
Quote:
Based on how quickly HTML 4 has been adopted since it became a standard a date of 2040 to see everyone using HTML 5 is probably overly optomistic. We may see most web sites upgraded to use HTML 4 by 2020 but at the current rate of progress even that may be optimistic. There are still many new web sites being written using HTML 3.2. |
|
|
|
|
|
|
#8 |
|
SitePoint Mentor
![]() Join Date: Oct 2006
Location: New Zealand
Posts: 2,297
|
|
|
|
|
|
|
#9 |
|
SitePoint Zealot
![]() ![]() Join Date: Sep 2008
Posts: 129
|
What's the downside to your site not being HTML 5 compliant?
|
|
|
|
|
|
#10 |
|
alexstanford @ twitter
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2004
Location: Jacksonville, Florida
Posts: 731
|
|
|
|
|
|
|
#11 |
|
SitePoint Mentor
![]() Join Date: Oct 2006
Location: New Zealand
Posts: 2,297
|
Nothing, apart from the meagre difference in the number of characters in the doctype.
In theory you also get support for a few extra tags in browsers which have chosen to implement them, but those tags probably work in those browsers even with an HTML4 doctype anyway. |
|
|
|
|
|
#12 |
|
SitePoint Enthusiast
![]() Join Date: Sep 2004
Location: Bangalore / Patna, India
Posts: 51
|
ok. Do anyone know what is the difference between <input type=search > and <input type=text>
I have used it on my blog http://www.satya-weblog.com but cannot see any difference except auto complete difference. Whatever I have searched on google comes here as well in auto complete. |
|
|
|
|
|
#13 | |
|
Programming Since 1978
![]() ![]() ![]() ![]() Join Date: Sep 2005
Location: Sydney, NSW, Australia
Posts: 10,811
|
Quote:
|
|
|
|
|
|
|
#14 |
|
SitePoint Member
Join Date: Nov 2009
Posts: 3
|
Hello All.
This is michaelis, I am running my IT engineering. I have mixed feelings about HTML5. There are bits that seem like they are throwing everything but the <kitchen> </sink> into it as a tag but then it almost makes up for some of that in the way they are adding some really useful tags like <header> and <nav> (that gives you all kinds of possibilities when it comes to parsing a document and knowing what the content is, a <div> could be anything from an article, to a header, to a navigation section, but <nav> is the navigation of the site). |
|
|
|
|
|
#15 | |
|
Programming Since 1978
![]() ![]() ![]() ![]() Join Date: Sep 2005
Location: Sydney, NSW, Australia
Posts: 10,811
|
Quote:
|
|
|
|
|
|
|
#16 | |
|
valentijntje
![]() Join Date: Aug 2007
Location: Netherlands
Posts: 3,208
|
Off Topic: Quote:
|
|
|
|
|
|
|
#17 | |
|
SitePoint Wizard
![]() ![]() ![]() Join Date: Jul 2008
Location: New York, NY
Posts: 1,366
|
Quote:
When this book is released, I would recommend reading it: http://www.amazon.co.uk/HTML5-Up-Run...4426625&sr=1-2 |
|
|
|
|
|
|
#18 |
|
Programming Since 1978
![]() ![]() ![]() ![]() Join Date: Sep 2005
Location: Sydney, NSW, Australia
Posts: 10,811
|
Thats because HTML5 uses the short version of the HTML2 doctype. Using that doctype for HTML2 is just as valid as using it for HTML5. The only difference is that you are not providing any information on which version of HTML you are using for validators to validate your code according to the appropriate version.
|
|
|
|
|
|
#19 | |
|
SitePoint Mentor
![]() ![]() ![]() Join Date: Feb 2009
Location: England, UK
Posts: 5,524
|
Quote:
![]() |
|
|
|
|
|
|
#20 | |
|
Programming Since 1978
![]() ![]() ![]() ![]() Join Date: Sep 2005
Location: Sydney, NSW, Australia
Posts: 10,811
|
Quote:
|
|
|
|
|
|
|
#21 |
|
SitePoint Member
Join Date: Nov 2009
Posts: 1
|
Of course! The browser that couldn't handle animated gif's!. Of course! The browser that mandates separate processes because it figures crashing is OK. Of Course!
|
|
|
|
|
|
#22 |
|
SitePoint Enthusiast
![]() Join Date: Nov 2009
Posts: 33
|
So only the doctype is changed?
|
|
|
|
|
|
#23 |
|
SitePoint Mentor
![]() ![]() ![]() Join Date: Feb 2009
Location: England, UK
Posts: 5,524
|
Felgall, well it's not called the bleeding edge for no reason, you have to expect that over time things will change, stuff will disappear, new elements and properties will appear and you'll need to spend a lot more time maintaining it to keep it up-to-date. That said, most of the new elements in the spec will probably remain unchanged, especially those related to the semantic structure of the document (in place of what we use generic DIV's for).
PS: Nick, you should probably read the specification if you think only the doctype changed in HTML5. ![]() |
|
|
|
|
|
#24 |
|
⠵
![]() Join Date: Dec 2004
Location: Sweden
Posts: 2,462
|
http://www.w3.org/TR/html5-diff/ is probably a more usable document to read if you're interested in what's changed.
|
|
|
|
|
|
#25 |
|
SitePoint Member
Join Date: Dec 2008
Location: New Delhi, INDIA
Posts: 8
|
Please help me any ebook avlable for html5
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 16:48.




















Linear Mode
