当前位置:网站首页>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 .
边栏推荐
- Neuron Newsletter 2022 - 05 | ajout de 2 entraînements Sud et 1 Application Nord, mise en œuvre de l'extension personnalisée par Modbus TCP
- 用GNN做CV三大任务的新骨干,同计算成本性能不输CNN、ViT与MLP|中科院&华为诺亚开源...
- 编写程序,计算2/1+3/2+5/3+8/5.....的值。要求计算前n项之和,保留2位小数(该序列从第二项起,每一项的分子是前一项分子与分母的和,分母是前一项的分子)
- Sohu employees encounter wage subsidy fraud. What is the difference between black property and gray property and how to trace the source?
- OFFICE技术讲座:标点符号-英文-大全
- CVPR2022|AConvNetforthe2020s&如何设计神经网络总结
- mTabLayout. setOnTabSelectedListener is deprecated
- 3. 网页开发工具 VS Code
- client-go gin的简单整合六-list-watch二(关于Rs与Pod以及Deployment的完善)
- 12、 Process address space (PMAP; vdso; MMAP)
猜你喜欢

In June, 2022, China Database ranking: tidb made a comeback to win the crown, and Dameng was dormant and won the flowers in May

Software project management 6.10 Cost budget

Start with interpreting the code automatically generated by BDC, and explain the program components of sapgui

谷歌提出超强预训练模型CoCa,在ImageNet上微调Top-1准确率达91%!在多个下游任务上SOTA!

今天,一对情侣拿下香港最大电商IPO

On distributed transaction

Development trend of Web Development

Creating basic stacks and queues in C language

向数据库中注册用户名和密码的功能

Tidb elementary course experience 8 (cluster management and maintenance, adding a tikv node)
随机推荐
Mobile phone manufacturers "go back to their ancestors", only apple said no
[mobile robot] principle of wheel odometer
统计100以内的各位数之和为7的自然数的个数及平均值
如何才能把团队给带解散。。。
Baidu programmers were sentenced to nine months for deleting the database. The one click unbinding function of the mobile phone number was released. Twitter compromised with musk again. Today, more bi
Example of full page sliding screen at mobile terminal (sliding the whole screen up and down) (sorting)
Simple integration of client go gin six list watch two (about the improvement of RS, pod and deployment)
拷贝和删除文件
How to write code that is not easy to overflow memory
How about the one-stop machine learning opening platform mlflow?
OFFICE技术讲座:标点符号-中文-竖排
Mr developed by unity3d realizes model occlusion and transparent ground receiving shadow
Neuron Newsletter 2022-05|新增 2 个南向驱动和 1 个北向应用、Modbus TCP 实现定制扩展
如果再写for循环,我就锤自己了
從解讀 BDC 自動生成的代碼談起,講解 SAPGUI 的程序組成部分
Find the number of common subsequences of K strings
JS global timer case
The deep neural network classifies nearly 2billion images per second, and the new brain like optical classifier chip is on nature
【FLinlk】Flink小坑之kerberos动态认证
QT database application 22 file coding format recognition