vim/ultisnips-bullshit/html.snippets @ 46fd11ae3808
Merge
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 13 Jun 2024 12:30:10 -0400 |
parents |
1e75bf5d6f48 |
children |
(none) |
snippet doctype "HTML - 5.0 (doctype)" b
<!DOCTYPE html>
endsnippet
snippet html "tag: html" bi
<html>
$1
</html>
endsnippet
snippet head "tag: head" b
<head>
$1
</head>
endsnippet
snippet body "tag: body" b
<body>
$1
</body>
endsnippet
snippet nav "tag: nav" b
<nav>
$1
</nav>
endsnippet
snippet title "tag: title" b
<title>$1</title>$0
endsnippet
snippet form "tag: form" b
<form action="${1:/path}" method="${2:get}">
$0
</form>
endsnippet
snippet fieldset "tag:fieldset" b
<fieldset>
<legend>$1</legend>
$2
</fieldset>
endsnippet
snippet label "tag: label" b
<label for="${1:field}">$2</label>
endsnippet
snippet input "tag: input" b
<input id="${1:field}" type="${2:text}" name="${3:name}" value="$4" />
endsnippet
snippet submit "tag: submit" b
<input type="submit" value="${1:Search}" />
endsnippet
snippet style "stylesheet" b
<link href="${1:style.css}" rel="stylesheet" type="text/css" />
endsnippet
snippet main "tag: main" b
<main>
$0
</main>
endsnippet
snippet header "tag: header" b
<header>
$0
</header>
endsnippet
snippet footer "tag: footer" b
<footer>
$0
</footer>
endsnippet
snippet table "tag: table" b
<table>
$0
</table>
endsnippet
snippet thead "tag: thead" b
<thead>
$0
</thead>
endsnippet
snippet tbody "tag: tbody" b
<tbody>
$0
</tbody>
endsnippet
snippet tfoot "tag: tfoot" b
<tfoot>
$0
</tfoot>
endsnippet
snippet tr "tag: tr" b
<tr>
$0
</tr>
endsnippet
snippet td "tag: td" b
<td>$1</td>
endsnippet
snippet th "tag: th" b
<th>$1</th>
endsnippet
snippet href "tag: a href" i
<a href="${1:https://example.com}">${2:Text}</a>
endsnippet
snippet " ." "class" i
class="$1"
endsnippet
snippet P "tag: p" b
<p>
$1
</p>
endsnippet
snippet p "tag: p" b
<p>$1</p>
endsnippet
snippet legend "tag: legend" b
<legend>$1</legend>
endsnippet
snippet span "tag: span" b
<span$1>$2</span>
endsnippet
snippet div "tag: div" b
<div$1>$2</div>
endsnippet
snippet Div "tag: div" b
<div$1>
$2
</div>
endsnippet
snippet ul "tag: ul" b
<ul>
$1
</ul>
endsnippet
snippet li "tag: li" b
<li>$1</li>
endsnippet
snippet h1 "tag: h1" b
<h1>$1</h1>
endsnippet
snippet h2 "tag: h2" b
<h2>$1</h2>
endsnippet
snippet h3 "tag: h3" b
<h3>$1</h3>
endsnippet
snippet h4 "tag: h4" b
<h4>$1</h4>
endsnippet
snippet h5 "tag: h5" b
<h5>$1</h5>
endsnippet
snippet h6 "tag: h6" b
<h6>$1</h6>
endsnippet
snippet script "tag: script" b
<script src="$1"></script>
endsnippet