Home > Development Tools > sublime > body text

A shortcut to generate html web page header code using sublime text

藏色散人
Release: 2019-12-12 15:02:52
forward
3802 people have browsed it

The following tutorial column of sublime introduction will introduce you to the shortcut method of using sublime text to generate the html web page header code. , I hope it will be helpful to friends in need!

A shortcut to generate html web page header code using sublime text

Enter html:xt and press the tab key to generate the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>
</head>
<body>
</body>
</html>
Copy after login

The above is the most commonly used header file. If you use html5, enter html:5 and then the tab key will generate the following:

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>
</html>
Copy after login

Of course there are other formats such as html:xs html:xxs html:4s html:4t, etc., which are not commonly used.

The above is the detailed content of A shortcut to generate html web page header code using sublime text. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template