Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

PHP

comment in php

1
2
3
4
5
<?php

// Hier Kommen Anweisungen hin

?>
https://snipt.net/embed/bc2128d626cab5eb4c1cb3f84a404325/
https://snipt.net/raw/bc2128d626cab5eb4c1cb3f84a404325/
bc2128d626cab5eb4c1cb3f84a404325
php
PHP
5
2016-11-28T16:02:29
True
False
False
/api/public/snipt/7783/
comment-in-php
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="c1">// Hier Kommen Anweisungen hin</span> </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a><span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
comment, php

JavaScript

not funny comments 1

var aIDs = {...};
//if(aIDs.isInfected()){ die(); }
https://snipt.net/embed/1609d5a9dedb03af769751861410622c/
https://snipt.net/raw/1609d5a9dedb03af769751861410622c/
1609d5a9dedb03af769751861410622c
js
JavaScript
2
2016-12-03T19:01:33
True
False
False
/api/public/snipt/6259/
funny-comments-1
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="kd">var</span> <span class="nx">aIDs</span> <span class="o">=</span> <span class="p">{...};</span> </span><span id="L-2"><a name="L-2"></a><span class="c1">//if(aIDs.isInfected()){ die(); }</span> </span></pre></div> </td></tr></table>
"no fun", "not funny", aids, comment, js

HTML

IE Special Comment Tag

<p>This is <comment>not</comment> Internet Explorer.</p>
https://snipt.net/embed/57799946e59654e0d7da9f6c0159264a/
https://snipt.net/raw/57799946e59654e0d7da9f6c0159264a/
57799946e59654e0d7da9f6c0159264a
html
HTML
2
2016-12-03T19:01:48
True
False
False
/api/public/snipt/5830/
ie-special-comment-tag
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>This is <span class="p">&lt;</span><span class="nt">comment</span><span class="p">&gt;</span>not<span class="p">&lt;/</span><span class="nt">comment</span><span class="p">&gt;</span> Internet Explorer.<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
"ie 6", comment, html, ie

HTML

IE Special Comment

1
2
3
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
https://snipt.net/embed/b7db474ed3298de38b0a9a418f085670/
https://snipt.net/raw/b7db474ed3298de38b0a9a418f085670/
b7db474ed3298de38b0a9a418f085670
html
HTML
4
2016-12-03T19:01:53
True
False
False
/api/public/snipt/5829/
ie-special-comment
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c">&lt;!--[if IE 6]&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="c">Special instructions for IE 6 here</span> </span><span id="L-3"><a name="L-3"></a><span class="c">&lt;![endif]--&gt;</span> </span></pre></div> </td></tr></table>
"ie 6", comment, html, ie
Copyrighted, illegal, or inappropriate content? Email [email protected].