HTML 5 Cheat Sheet (PDF)
XHTML 2 is dead, long live HTML 5! According to W3C News Archive, XHTML 2 working group is expected to stop work end of 2009 and W3C is planning to increase resources on HTML 5 instead. And even although HTML 5 won’t be completely supported until 2022, it doesn’t mean that it won’t be widely adopted within the foreseeable future.
So in the spirit of the upcoming change we decided to release a handy printable HTML 5 Cheat Sheet that lists all currently supported tags, their descriptions, their attributes and their support in HTML 4.
Please notice that the specification is an ongoing work, and is expected to remain so for many years, although parts of HTML 5 are going to be finished and implemented in browsers before the whole specification reaches final Recommendation status. We’ll do our best to update the cheat sheet when new changes will become known. The cheat sheet was created by our friends from Veign.com and released exclusively for the readers of Smashing Magazine.
Download the cheat sheet for free!
- preview (.gif, 1017×836px)
- download the pdf (76 Kb)
Thank you very much, Chris Hanscom! We appreciate your efforts.
Further Resources About HTML 5
- Yes, You Can Use HTML 5 Today!
There have been many changes to the HTML 5 landscape since Lachlan Hunt’s 2007 article on A List Apart, A Preview of HTML 5. Let’s see what’s happening in the world of HTML 5. - HTML 5 Demos
A couple of HTML 5 examples and experiments. - HTML 5 Doctor
This blog publishes articles relating to HTML5 and it’s semantics and how to use them, here and now. - A Selection of Supported Features in HTML5
A Selection of Supported Features in HTML5. - 4 Useful HTML5 Browser Support Overviews
- HTML 5 Gallery
A showcase of sites using html5 markup.
Do you already use HTML 5 in your projects? Would you recommend using HTML 5? Let us know in the comments!






Julian Flockton
July 6th, 2009 1:38 amThat’s exactly what I need. Thanks for publishing. Great Post!
Mahesh
July 6th, 2009 1:42 amThanks.. Downloading now!!
artmania
July 6th, 2009 1:43 amwow great, thanks!!!! ;)
Emroacket
July 6th, 2009 1:44 amNice post!!!thanks for publishing =)
chris
July 6th, 2009 1:47 amThanx for the Cheatsheet!
Rob
July 6th, 2009 1:54 amSo they’re still stopping short of deprecating all semantically useless elements such as “bold”, “italic” and “small”. Shame. Still useful checklist nonetheless.
Ryan Roberts
July 6th, 2009 1:56 amHTML 5 will be ready by 2012, it may not have 100% support until 2020.
@Rob
Small has a semantic purpose in marking up small print. b and i were argued over long and hard and they have been given new semantic purpose. Check out the spec to see what it says because it looks like the cheat sheet lacks proper exploitation or is simply wrong.
HTML 5 i element
<HTML 5 i element
Muhammad Adnan
July 6th, 2009 2:02 amthanks , i just downloaded it.
Ryan Roberts
July 6th, 2009 2:03 amHmm “exploitation” above should be explanation.
Anyway here are some excerpts from the HTML spec…
Łukasz Adamczuk
July 6th, 2009 2:09 amOK, but how long we should wait for support in modern browsers
Grant
July 6th, 2009 2:13 am“HTML not fully supported until 2022″ is the stupidest thing I’ve ever heard about the web. Considering the development over the last 15 years, I would hope that no-one is using anything like HTML5 in 13 years time. If this can’t be fully supported in the next 5 years, then we should all pack up and go home.
Thanks for the cheat sheet, thought, great resource.
Ryan Roberts
July 6th, 2009 2:22 amSo not only is the cheat sheet inaccurate (or at least insufficient) with descriptions of elements, but this article is misleading.
Here is the HTML 5 timeline as it currently stands:
* First W3C Working Draft in October 2007.
* Last Call Working Draft in October 2009.
* Call for contributions for the test suite in 2011.
* Candidate Recommendation in 2012.
* First draft of test suite in 2012.
* Second draft of test suite in 2015.
* Final version of test suite in 2019.
* Reissued Last Call Working Draft in 2020.
* Proposed Recommendation in 2022.
As you can see HTML 5 should be ready in a couple of years, by 2022 it should be fully supported by at least two browsers. Considering CSS2 has been around for 10 years and (afaik) doesn’t have full support by at least two browsers I think focusing on the 2022 date is daft. Heck I don’t think there are even two browsers that have complete support to the spec for HTML4 or XHTML.
Simon
July 6th, 2009 2:32 amWhen you really think about it, such a rigorous, pre-defined imposed definition of how we should build/markup our webpages is killing creativity and progress (creative and technical) in the long end. Why a tag for content on the side of the page …. do we all want to look or feel the same?
I’d say be gone with the markup spec and concentrate on javascript… build a nice set of browser built-in ui components we can use but leave enough room for progress and outside-the-box solutions! like flash …. without flash!
Chris
May 13th, 2010 11:39 pm@Simon/#13
Well in a perfect world, we’d use XHTML/XML with javascript and css instead of html+flash.
In this case, it looks like they’re going for HTML only which is going to suck..
@ #31
Nah, MSFT plays it smart and supports the majority, just like they’ve always done. They’re dropping that now in favour of newer technologies, but they became the biggest by allowing people to do whatever they want. IE would render code that was horrible by most standards, XP would load drivers that are barely readable. ‘shrugs’
Granted, they did that by ignoring some of the new specs, but as they can change fairly rapidly, I’m not too worried about that. :P
As the article said, full support isn’t expected till 2022. If MSFT chooses to keep XHTML till then, then that’s something I can live with.
ostry-deXter
July 6th, 2009 2:38 amGreat! Thanks! =)
Ryan Roberts
July 6th, 2009 2:45 am@simon
The problem there is you are focusing on the web visually, HTML has no interest in your presentational creativity (how things look) as it is primarily a semantic markup language and there to provide meaning to content.
The
asideelement (which I assume you’re referring to) . It isn’t for content on the side of a page visually, you handle that using CSS.Javascript or a Flash like alternative simply can’t replace the underlying power of HTML, but they certainly play a part in other layers outside of HTML (behaviour, presentation etc).
Jim
July 6th, 2009 2:56 amI gotta say, building Web sites was a lot more fun when frames were all the rage, the king of the hill WYSIWYG editor was Adobe PageMill, and a little German company called GoLive had a product called CyberStudio that was just starting to kick everybody’s ass.
Somewhere along the way it became uncool to use WYSIWYG, unacceptable to not use CSS, and completely “no fun” no matter what you use.
Rob
July 6th, 2009 3:02 amLet’s go whole hog shall we and start using tables again for layout…!
brent christian
February 17th, 2010 8:16 pmyeah…and undercover 1×1 pixel images!!
Ryan Roberts
July 6th, 2009 3:14 amIgnore this comment, I wasn’t getting the grey backgrounds ;)
Mike@ssm
July 6th, 2009 3:41 amW3C should curl up and die already.
They are like a bunch of doctors chatting and drinking coffee in the emergency room filled with people dying.
Andrew Hedges
July 6th, 2009 3:42 amI’ve been doing a lot of WebKit-specific development recently (iPhone/Android/Pre web apps) and I’m making extensive use of HTML5 elements including header, article, section, nav, time, etc. Not only that, it makes me happy to use a DOCTYPE I don’t have to look up whenever I create a new file.
Jorg
July 6th, 2009 3:58 amAppreciate the effort, but, well, it’s too big for a quick cheat sheet and contains too little information for like a reference guide?
Rusty
July 6th, 2009 4:02 amlol I could be dead in 2022!
a6hiji7
September 8th, 2010 3:32 amYa, you should be! In fact all of us will! And W3C with that HTML5 specification will be lying under 20 feet of sands for posterity!
Jonas
July 6th, 2009 4:38 amIt’s fun that the input-tag, will have “patterm” instead of “pattern”.
Kind of…
Armig Esfahani
July 6th, 2009 4:56 amyup this can be so useful sometimes
Rob
July 6th, 2009 5:12 amI don’t understand why they kept both , and , .. one would be enought
A Web Designer
July 6th, 2009 5:25 amIf only 8% of people know what a browser means, Why are Mozilla and Google not advertising on the radio to simply explain that the dumb internet explorer is not the best choice.
They can run short ads on CBS 1010Wins..
I am sure this will open the minds of non geeky people that are the only ones understanding what a browser is all about.
Christina
July 6th, 2009 5:28 amHopefully by 2022 I will have retired. Just sitting around a pool sipping on a cool drink. Seriously what’s the point of coming up with new specs if the browsers won’t be supporting them?
Adardesign
July 6th, 2009 5:30 amIf only 8% of people know what a browser means, Why are Mozilla and Google not advertising on the radio to simply explain that the dumb internet explorer is not there best choice.
They can run short ads on CBS 1010Wins..
I am sure this will open the minds of non geeky people that are the only ones understanding what a browser is all about.
Rob
July 6th, 2009 5:38 amFor those who don’t know, standards are built upon implementations. Standards body rarely “invent” anything. The reason for the 2022 date, which is only an estimate, is that two or more browser vendors have to successfully implement a method for it to be included in the standard. So, while the document may not be finished till then, many of us web developers are happily using HTML5 right now.
Remember, CSS2.1 was only finalized about two years ago.
Note: anyone waiting for Internet Explorer to catch up to this, Microsoft doesn’t even show up for the meetings yet they are co-chair of the working group so you’ve got a long, long wait.
Sean
July 6th, 2009 5:57 amToo bad they pulled the video tag from the specs because none of the major companies could agree on a codec.
Apple refuses to use Ogg Theora
Google can’t provide 3rd party licenses for H.264
Opera and Mozilla refuses to implement H.264 because of licensing issues
Microsoft does what it always does… sit around an say or do nothing
Ramoonus
July 6th, 2009 6:33 amDefo going to place one of these on my desktop
Keefe
July 6th, 2009 6:56 amHTML 5 have no
<acronym>tag, we use<abbr>tag for both abbreviation or acronym. Check before posting.This is Stupid
July 6th, 2009 7:28 amI don’t understand the point of this at all. If current browser’s don’t support/understand HTML 5 today, why use it?
Maybe I’m misunderstanding something, but if ie8 only just has gotten close to full support for CSS2, and not even really begun with CSS3, why would I use a spec that’s not expected to be even recommended in the next 10 years?
It’s great to be forward thinking, but I think it’s ridiculous to put out a spec and be like well it’s not ready, but you can use it, but most browser won’t support it, and we haven’t really decided what we’re keeping or not keeping… and the list goes on.
This is like the ‘N’ Band for wireless. Pointless.
Greg
July 6th, 2009 7:37 amIt would be nice to have a browser support heading, as that is my biggest hold back on adopting newer technologies into my sites.
Ryan Roberts
July 6th, 2009 7:39 am@This is Stupid
How do you think this is supposed to work? HTML4 and XHTML weren’t released with full support from browsers, and as I said earlier there isn’t even 100% support for either HTML4 or the XHTML specs.
If you don’t want to use HTML 5 then don’t, nobody is forcing you but there will always be early adopters and people pushing the limits of technology. There are already sites working in HTML 5 and the more support it gets from designers and developers the more likely it will happen. XHTML 2 had barely any support at all from any angle and rightly got dropped.
Officially it is not ready to be used so I don’t see where you get the idea that this is the word.
Most browsers will support HTML 5, they’ve already started.
As I’ve already stated HTML 5 will be a candidate recommendation within 2.5 years not 10. Last call for the working draft is just over 3 months away. If you think it’s pointless until there’s complete widespread support from browsers then you may as well dump all the technology we use.
Jérôme Coupé
July 6th, 2009 7:40 amThat kind of statment can be quite confusing for people
XHTML is not dead, XHTML 2 is / might be. As mentioned on the WHATWG Wiki, there is an XML serialisation of HTML 5: XHTML 5.
The HTML Spec tagline says it as well: “A vocabulary and associated APIs for HTML and XHTML”
Jérôme Coupé
July 6th, 2009 7:47 amXHTML is dead, long live HTML 5
That kind of statment can be quite confusing for people
XHTML is not dead, XHTML 2 is. As mentioned in the WHATWG WIKI, there is an XML serialisation of HTML 5: XHTML 5.
The HTML Spec tagline says it as well: “A vocabulary and associated APIs for HTML and XHTML”
Thanks for the writeup and resources
Yael
July 6th, 2009 7:52 am2022??? I think’s a long time… in 2022 the Internet will be so changed…
Jen
July 6th, 2009 7:55 amThanks, in Firefox I can’t see the download links. Ie/Chrome they appear fine. I’ve noticed this on other posts too.
Tanya
July 6th, 2009 7:56 amNothing to cry about. Anyway, it is a progress, not a regress.
Eric
July 6th, 2009 8:09 amI think the question people want to know – from a practical standpoint – is when would it be wise to start using html5. When a 13 year timeline is mentioned for full support, but it “could” be used within a few years, my initial inclination is to think it isn’t worth the trouble yet. Am I asking a more subjective question with too much gray area to give a solid answer? I think this article should at least make an attempt to give answers to that within certain contexts. For example, in a corporate environment where you need to support every browser possible, you might not want to switch yet. For a more tech savvy blog reading crowd, now’s the time. These are just made up examples but things i’d like to get some professional opinions on.
Helen
July 6th, 2009 8:57 amThe new tags cannot be used as normal divs. You have to put divs inside of those tags which doesn’t prevent IE rendering the markup with a chaotic result. Looking at the first htlm5-markups it look a little bit like a table layout.
By the way, there is a conflict between semantic structuring with html5 and the way of wrapping divs in current webdesign which you will take notice of when starting to code in html5 :)
To enable the machines understanding our websides a little bit more semantically, why didn’t Google just simply announce the convention, the navigation should be inside a div called “nav”, putting the content inside a div called “content”, resp. footer, header, aside etc. If you follow this convention you will get a higher page rank. This would have made the web more semantical within two years.
Long live XHTML 1!
Alyssa
July 6th, 2009 9:10 amFor the next 10 years, I’ll let technology take its course. Then, I will look at this posting again and it will probably evoke alot of thought. :)
Will
July 6th, 2009 9:13 amThe danger is we end up with 2 internets – one based on HTML5 / CSS3 standards which can be accessed by Gecko and Webkit browsers and another internet specially for Internet Explorer users which relies on propriety code like Silverlight. That’s what Micro$oft wants and that’s certainly the way things are going.
Who knows, HTML and CSS may have been superseded by something completely different by 2022. The problem is that even web standards are desperately struggling to keep up with the pace of modern internet development.
Matt Barnes
July 6th, 2009 10:05 amanyone know why
acronymwas deprecated? Seems perfectly semantic and useful to me.aurel
July 6th, 2009 10:43 ami really like these articles
Mike@ssm
July 6th, 2009 11:00 amWe need better server side language so we can bypass waiting.
A lovely rendering engine for our clients needs and ours…
Pipe dreams.
Mahendra
July 6th, 2009 12:34 pmWe destroy countries in less time than it takes the W3C to do their damn job.
pdan
July 6th, 2009 12:40 pmtnx a lot , that’s great .
Ryan Roberts
July 6th, 2009 1:19 pm@Matt Barnes
Many considered it confusing , people weren’t sure when to use
acronymorabbrso it was settled thatabbrwould do the job alone.elton lester
July 6th, 2009 3:04 pmcan we get one of these for CSS3? I’d like to read all the comments people have about it’s implementation ; – )
Philippe Mercier
July 6th, 2009 5:12 pmMaybe if Ebay, Facebook, Google…. start using CSS3 and stuff and tell there users that they drop support for internet explorer. maybe that the stupid internet explorer developers get a wake up call, until then we will have to wait 5 years!
Sittinhere
July 6th, 2009 6:21 pmI can picture everyone having to code in XHMTL and HTML5. It’ll be a big pain in the ass just like it is to make sites look and act the same between all browsers.
Mohammed
July 6th, 2009 6:30 pmI’ve been waiting for this, THANKS!
Pete
July 7th, 2009 12:22 amSweet, it’s a shame we won’t be able to use all this for a few years. no time like the present to learn though.
Andrew
July 7th, 2009 1:14 am2022!
James McWhorter
July 7th, 2009 5:07 amThis is going on my wall!
joey
July 7th, 2009 5:16 amThis cheat sheet is a piece of crap.
juqng
July 7th, 2009 6:56 amthanks good work
Demarlo
July 6th, 2011 7:17 pmKnocked my socks off with konlwdgee!
Matt Barnes
July 7th, 2009 11:59 pmJeremy Keith posted a really helpful summary of the whole HTML5 / XHTML2 situation. May be of interest to some who have commented here. Link
André HUf
July 8th, 2009 3:38 amYour HTML 4.01 xmp element is new to me.
jojobaoil
July 9th, 2009 12:42 amThanks ^^
Luke Jones
July 9th, 2009 5:57 amThat’s cool, I’m going to create a HTML 5 site just for fun, to see what it’s like. The only problem I have is how it’s making coding so accessible, it’s going to turn into something anyone can do. :(
LaunchTulsa.com
July 10th, 2009 6:39 pmThanks. I have been looking for something like this.
html to pdf
July 13th, 2009 2:57 ami have found an interesting website to convert html documents to pdf easily – you should have a look at html to pdf
Selvam
July 13th, 2009 3:43 ammust have for every web geek….thanks
Nancy Grossbart
July 13th, 2009 11:38 amAll in one place! This is fantastic. Thanks. This is going to be big help.
Brent Lintner
July 13th, 2009 11:59 amthanks, will come in handy!
now for the browsers…
sophy
July 13th, 2009 8:06 pmThank you so much!
MySchizoBuddy
July 15th, 2009 4:05 am@Sean
the video tag HASN’T been dropped. The information about using ogg theora was removed NOT the video tag.
the current situation is
Apple, Google, Mozilla and Opera ALL use the video tag
Apple won’t support ogg theora cause of possible patent issues
Google will support both ogg theora and H.264
Mozilla and Opera won’t support H.264 cause of licensing issues
Microsoft doesn’t support the video tag
linux lover
July 19th, 2009 11:21 amwhat i needed i am going to show a website on school so am sure it will help very much thanks a lot :-)
Jonathon
September 8th, 2009 11:22 amI’m attempting to use HTML5 with my latest project A Happier Hour. I started using Firefox (3.5) as my baseline, then realized how broken it was on older browsers. So far, my compromise has been to use the HTML5 elements with a div nested just inside for other browsers to hook on to. I’m not sure if that is worse than the javascript workaround, but it works on a very wide array of browsers new and old.
Epsilon
September 16th, 2009 9:16 pmnot bad…copy freely from it!!!
Oliver Mezquita
October 31st, 2009 1:27 pmVery nice! I’ll print it out and have it handy. Thanks!
reisio
December 1st, 2009 4:10 pmYour DOCTYPE information is at best misleading. The spec very clearly defines it:
http://www.w3.org/TR/html5/syntax.html#the-doctype
Adam C
December 3rd, 2009 8:15 amWill it be possible, within 5 years, to have HTML5 without having to hack support using Javascript?
When will IE6 die? It’s holding the whole world up! It’s getting embarrassing now.
toufiq
December 16th, 2009 10:50 amits good for us
Bathroom
December 29th, 2009 4:24 pmHopefully by 2022 I will have retired. Just sitting around a pool sipping on a cool drink. Seriously what’s the point of coming up with new specs if the browsers won’t be supporting them?
Mohammad
February 14th, 2010 1:55 amThanks,
It would be good if you highlight the new elements
Constantin
February 14th, 2010 5:04 amthanks a lot!
Regards,
C.
sean
March 3rd, 2010 1:10 pmThis cheatsheet is outdated. is not on the spec.
Here is a list (not put out by smashing).
http://www.w3schools.com/html5/html5_reference.asp
Bhausaheb Zaware
March 25th, 2010 12:26 amWow! Gr8. This is very useful information.
HTML?
April 20th, 2010 2:08 pmLets see…. the world is going to self destruct in 2012… so they better pick up the pace :-)
tony_zhang
May 4th, 2010 1:02 amvery good. tanks
HozZzLi
May 17th, 2010 7:48 amNice work…
Thanks to U fulL….
Myto
June 18th, 2010 5:43 pmGreat! that’s my need
Munuswamy
August 21st, 2010 2:26 amIts great to see the tags used in HTML 5. But it will be useful and used when all the browser all compatible with that syntax. I think it will take around 5 to 6 years to reach that position.
Posicionamiento Web
August 30th, 2010 1:35 pmAppreciate the effort, but, well, it’s too big for a quick cheat sheet and contains too little information for like a reference guide?
smalllotus
September 3rd, 2010 2:24 amI think I should study HTML5 now~~:)~~~haha
InkSketch
October 2nd, 2010 6:18 amVery useful. Thank you for providing this.
Brett Widmann
October 22nd, 2010 4:14 pmExactly what I needed! Thanks for the info!
Googlelover
November 19th, 2010 6:44 amCheck out the Google interactive guidebook of web in HTML5. http://techshrimp.com/2010/11/19/google-launches-interactive-online-guidebook-to-teach-all-about-web/
Music
January 6th, 2011 9:40 amReally Useful……….. Thanks alot….. alot…. alot….:-)
Tommy
May 31st, 2011 12:15 amall web design cheat sheet : http://html5example.net/entry/tutorial/cheat-sheets-collection
Html5 cheat sheet : http://html5example.net/entry/html5-reference/html-5-visual-cheat-sheet
Devon Young
June 4th, 2011 9:48 amIsn’t that cheatsheet a little outdated? I just downloaded it, & noticed it was made in 2009. There’s no mention of it being updated since then, but there’s been a number of changes in HTML5 since 2009 if I remember right.
sai
July 19th, 2011 2:41 amthanks ,with this i can design my web pages much more efficiently
yan
August 31st, 2011 5:24 amthanks, very good html5
yan
August 31st, 2011 5:26 amits fine
Sanket
August 31st, 2011 5:50 amI am new with HTML 5 and want to perfect on this, so please guide me how can i start to learn HTML 5, I am a UI Developer and i am familiar with this.
Rubens
September 5th, 2011 4:31 amthank you so much… really its very useful…
Achint Verma
September 9th, 2011 10:39 pmYou can find more resources & HTML5 Apps Examples & Showcases here.
http://www.facebook.com/html5apps