snipt

Ctrl+h for KB shortcuts

Bash

html 4.01 strict doctype

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
https://snipt.net/embed/a78dbd0f552aceb8fbaf0eef59cc4c85/
/raw/a78dbd0f552aceb8fbaf0eef59cc4c85/
a78dbd0f552aceb8fbaf0eef59cc4c85
bash
Bash
2
2019-07-10T08:12:10
True
False
False
/api/public/snipt/3720/
html-401-strict-doctype-2
<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>&lt;!DOCTYPE HTML PUBLIC <span class="s2">&quot;-//W3C//DTD HTML 4.01//EN&quot;</span> </span><span id="L-2"><a name="L-2"></a> <span class="s2">&quot;http://www.w3.org/TR/html4/strict.dtd&quot;</span>&gt; </span></pre></div> </td></tr></table>
doctype, html

HTML

javascript

<script type="text/javascript" src="script.js">
https://snipt.net/embed/42d99a3d88d2552b60c9428679f19365/
/raw/42d99a3d88d2552b60c9428679f19365/
42d99a3d88d2552b60c9428679f19365
html
HTML
1
2019-07-10T12:32:28
True
False
False
/api/public/snipt/3091/
javascript-1
<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">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;text/javascript&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;script.js&quot;</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
html

HTML

meta tags basic

1
2
3
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<meta content="lorem ipsum dolor" name="keywords"/>
<meta content="lorem ipsum dolor" name="description"/>
https://snipt.net/embed/15f2f2f0762fb7702c6f1122678f2f35/
/raw/15f2f2f0762fb7702c6f1122678f2f35/
15f2f2f0762fb7702c6f1122678f2f35
html
HTML
3
2019-07-08T00:46:06
True
False
False
/api/public/snipt/3090/
meta-tags-basic
<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="p">&lt;</span><span class="nt">meta</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;text/html; charset=UTF-8&quot;</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">&quot;Content-Type&quot;</span><span class="p">/&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">meta</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;lorem ipsum dolor&quot;</span> <span class="na">name</span><span class="o">=</span><span class="s">&quot;keywords&quot;</span><span class="p">/&gt;</span> </span><span id="L-3"><a name="L-3"></a><span class="p">&lt;</span><span class="nt">meta</span> <span class="na">content</span><span class="o">=</span><span class="s">&quot;lorem ipsum dolor&quot;</span> <span class="na">name</span><span class="o">=</span><span class="s">&quot;description&quot;</span><span class="p">/&gt;</span> </span></pre></div> </td></tr></table>
html

HTML

RSS icon in address bar

<link title="RSS" type="application/rss+xml" rel="alternate" href="backend.xml"/>
https://snipt.net/embed/542e722ede844d1dbbd62fe79830fb09/
/raw/542e722ede844d1dbbd62fe79830fb09/
542e722ede844d1dbbd62fe79830fb09
html
HTML
1
2019-07-16T01:33:17
True
False
False
/api/public/snipt/3089/
rss-icon-in-address-bar
<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">link</span> <span class="na">title</span><span class="o">=</span><span class="s">&quot;RSS&quot;</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;application/rss+xml&quot;</span> <span class="na">rel</span><span class="o">=</span><span class="s">&quot;alternate&quot;</span> <span class="na">href</span><span class="o">=</span><span class="s">&quot;backend.xml&quot;</span><span class="p">/&gt;</span> </span></pre></div> </td></tr></table>
html

HTML

shortcut icon

<link type="image/gif" href="shortcut-icon.gif" rel="shortcut icon"/>
https://snipt.net/embed/5d30facd2c68f75d8912cbccafafe585/
/raw/5d30facd2c68f75d8912cbccafafe585/
5d30facd2c68f75d8912cbccafafe585
html
HTML
1
2019-07-05T05:28:19
True
False
False
/api/public/snipt/3088/
shortcut-icon
<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">link</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;image/gif&quot;</span> <span class="na">href</span><span class="o">=</span><span class="s">&quot;shortcut-icon.gif&quot;</span> <span class="na">rel</span><span class="o">=</span><span class="s">&quot;shortcut icon&quot;</span><span class="p">/&gt;</span> </span></pre></div> </td></tr></table>
html