Adding a html5 snippet

This html5 snippet would provide the minimum someone could expect in a html5 file.
This commit is contained in:
theocrite 2012-10-24 14:48:06 +03:00
parent e9747f701d
commit 7b5f878886

View File

@ -445,6 +445,18 @@ snippet xhtml
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
${1} ${1}
</html> </html>
snippet html5
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
${2:meta}
</head>
<body>
${3:body}
</body>
</html>
snippet i snippet i
<i>${1}</i> <i>${1}</i>
snippet iframe snippet iframe