Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
HTML5 Snippet for Sublime Text 2
<!doctype html>
<!-- -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<meta charset="utf-8">
<meta charset=utf-8>
<!--[if lt IE 9]> HTML5Shiv
<script src="//"></script>

Thanks, great snippet.

tylshe commented May 31, 2013

It's cool, thanks

Why both

<meta charset="utf-8">


<meta charset=utf-8>


skopp commented Jul 26, 2013 - true. looks like a mistake (as one hasn't been enclosed with "__" and I assume that's the wrong one.

great snippet.


Just a trivial issue with one of the lines as mentioned by others. Rather than this it's useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment