Sublime Doctype HTML代码段 [英] Sublime Doctype HTML Snippet

查看:136
本文介绍了Sublime Doctype HTML代码段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以将下面↓↓↓的内容作为摘要插入?

Is there a way that this here below ↓↓↓ can be inserted as a snippet?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>

</head>
<body>

</body>

</html>

我尝试使用首选项->键绑定-用户,但引号确实很重要。

I tried using Preferences -> Key Bindings - User but quotation marks really matters.

推荐答案

您可以通过工具->创建新的代码段。新代码段...

您可以在此处详细了解有关创建和使用摘要的信息。

You can read more about creating and using snippets here.

仅供参考, HTML5文档类型可能更合适,更容易记住,只需:

FYI, the HTML5 doctype is probably more appropriate and much easier to remember, simply:

<!DOCTYPE html>

这篇关于Sublime Doctype HTML代码段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆