Skip to content

Instantly share code, notes, and snippets.

@kyaido
Created November 12, 2014 03:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kyaido/5019fc894924f6740a25 to your computer and use it in GitHub Desktop.
HTMLで、コメントが含まれるかたまりを簡単にコメントアウトする方法 ref: http://qiita.com/kyaido/items/143b56c9150e0555a2e3
<body>
<!--
<div class="hoge">
hogehoge
<!-- comment comment -->
hogehoge
</div>
-->
</body>
<body>
<script>/*
<div class="hoge">
hogehoge
<!-- comment comment -->
hogehoge
</div>
*/</script>
</body>
<body>
<style>/*
<div class="hoge">
hogehoge
<!-- comment comment -->
hogehoge
</div>
*/</style>
</body>
<body>
<div class="hoge">
hogehoge
<!-- comment comment -->
hogehoge
</div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment