Home  >  Article  >  Web Front-end  >  How to quickly create html header code in sublime

How to quickly create html header code in sublime

php中世界最好的语言
php中世界最好的语言Original
2018-03-09 10:36:283944browse

This time I will show you how to quickly create html header code with sublime. What are the precautions for sublime to quickly create html header code? The following is a practical case. Get up and take a look.

html5Shortcut key: html:5

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <title>Document</title></head><body>
    </body></html>

xhtml1.1

Shortcut key: html:xxs

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.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>

xhtml1. 0

Shortcut key: html:xs

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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>

html4

Shortcut key: html:4s

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html lang="en"><head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title></head><body>
    </body></html>

I believe you have mastered the method after reading the case in this article. Please pay attention for more exciting things. php Chinese website

Other related articles!

Related reading:

Detailed explanation of Vue list rendering

HTML using img tag to make pictures

FAQ 2 in HTML

The above is the detailed content of How to quickly create html header code in sublime. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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