Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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