当前位置:网站首页>3. web page development tool vs Code
3. web page development tool vs Code
2022-06-10 13:15:00 【M_ qsqsqsq】
3. Web development tools VS Code
3.1 VSCode Basic use of
Double click to open the software .
New file (Ctrl+N).
preservation (Ctrl+S), Note that the move should be saved as .html file
Ctrl+ Plus key ,Ctr+ The minus key zooms in and out of the view
Generate page skeleton structure . Input ! Press down Tab key .
Use the plug-in to preview the page in the browser : Right click , Click in the pop-up exit “Open In Default Browser”.
3.2 VS Code Plug in installation
3.2.1 Installation method

3.2.2 Recommended plug-ins

Be careful :JS-CSS-HTML Do not install this plug-in , It's very hard to use
3.3 VSCdoe Generated frame interpretation
Use vscode The created framework is as follows :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vscode establish </title>
</head>
<body>
This is for me vscode Created html
</body>
</html>
3.3.1 Document type declaration label
<!DOCTYPE> Document type declaration , The function is to tell the browser which one to use HTML Version to display the web page .
<DOCTYPE html>
This code means : The current page takes HTML5 Version to display the web page .
Be careful :
- <!DOCTYPE> Declaration at the top of the document , Before the label .
- <!DOCTYPE> Is not a HTML label , It is the document type declaration label .
3.3.2 lang Language types
The language used to define the current document display .
en Define language as English
zh-CN Define the language as Chinese
Simply speaking , Defined as en It's an English web page , Defined as zh-CN It's the Chinese Web page
3.3.3 Character set
Character set (Character set) It's a collection of characters . So that computers can recognize and store all kinds of characters .
In the label , You can use the label's charset Attribute to define HTML What kind of character encoding should the document use .
<meta charset="UTF-8"/>
charset Common values are :GB2312、BIG5、GBK and UTF-8, among UTF-8 Also known as universal code , Basically contains all the countries in the world need to use the characters .
Be careful : The above syntax is the code that must be written , Otherwise, ask about the situation that can cause the group code . In general , The system uses “UT「-8” code , As far as possible
Uniformly written into standard "UTF-8", Don't write as "utf8" or "UTF8".
3.3.4 summary
The above three codes vscode Automatic generation , There's basically no need for us to rewrite
<!DOCTYPE html>Document type declaration label , Tell the browser to take this page html5 Version to display the page .<html lang="en">Tell the browser or search engine that this is an English website . This page is displayed in English<meta charset="UTF-8"/>Must write . take UTr-8 To save text . If you don't write, it will be garbled . The specific principle will be analyzed later .
边栏推荐
- 汇编语言入门-总结
- Unity typewriter to automatically roll text to the bottom of the text box
- How can the team be dissolved...
- Simple integration of client go gin six list watch two (about the improvement of RS, pod and deployment)
- Use and inspection of safety tools and instruments
- [FAQ] summary of common problems and solutions during the use of rest API interface of sports health service
- Office technical lecture: punctuation - English - Encyclopedia
- Leetcode 96. Différents arbres de recherche binaires
- 【Spark】(task8)SparkML中的pipeline通道建立
- 'setbackgrounddrawable() 'is deprecated, setbackgrounddrawable is obsolete
猜你喜欢

TIDB 初级课程体验 8 (集群的管理维护, 添加一个TIKV节点)

编写程序,计算2/1+3/2+5/3+8/5.....的值。要求计算前n项之和,保留2位小数(该序列从第二项起,每一项的分子是前一项分子与分母的和,分母是前一项的分子)

Count the number and average value of natural numbers whose sum of bits within 100 is 7

日本版arXiv凉得一批:2个多月了,才收到37篇论文

Shi Yigong and other teams posted on the cover of Science: AI and freeze electron microscope revealed the structure of "atomic level" NPC, a breakthrough in life science

The ability to register user names and passwords with the database

Unity typewriter to automatically roll text to the bottom of the text box

The deep neural network classifies nearly 2billion images per second, and the new brain like optical classifier chip is on nature

MySQL master database operation large table DDL, slave database crash and system parameter error setting

学籍管理系统
随机推荐
Find the number of common subsequences of K strings
Development trend of Web Development
[FAQ] summary of common problems and solutions during the use of rest API interface of sports health service
Code free may event Microsoft low code matrix update; Multiple industry reports released
'setbackgrounddrawable() 'is deprecated, setbackgrounddrawable is obsolete
If the files and graphics are lost, it means that you don't need the office developed by yourself
【FLinlk】Flink小坑之kerberos动态认证
IQR箱线图
Vdo-slam source code reading notes [1] dynamic obj part in track()
Tidb elementary course experience 8 (cluster management and maintenance, adding a tikv node)
手机厂商“返祖”,只有苹果说不
The deep neural network classifies nearly 2billion images per second, and the new brain like optical classifier chip is on nature
CVPR2022|AConvNetforthe2020s&如何设计神经网络总结
Final exam - Principles of compilation
【抬杠C#】如何实现接口的base调用
OFFICE技术讲座:标点符号-英文-大全
谷歌提出超强预训练模型CoCa,在ImageNet上微调Top-1准确率达91%!在多个下游任务上SOTA!
Google proposed the super pre training model coca, and the accuracy of fine-tuning top-1 on Imagenet reached 91%! SOTA on multiple downstream tasks!
Periodically brush the data in the database and synchronize only the modified fields
Start with interpreting the code automatically generated by BDC, and explain the program components of sapgui