coding
Coding web pages
<Meta charset = "UTF-. 8"> Show Codes Remarks |
label
Single tags: < tag name > Ditag: < tag name > </ tag name > |
Title Tag
h title tag
<h1></h1>
Boss
<h2></h2>
Her second child
<h3></h3>
Youngest
<h4></h4>
The remaining maximum level
<h5></h5>
<h6></h6>
h1 level is the highest, (same page h1 can appear only once) |
Paragraph tag
Note: p tag does not need an additional branch, itself a separate line
1 <p> 春眠不觉晓, Everywhere Tiniao. </ p>
<p> night comes wind and rain, Whispering Color. </ p>
|
HTML Insert Picture
IMG (single label)
src introduced picture address
<img src="a.png"> |
Pictures of the relative path and absolute path
1 , the absolute path
1 of 1 species: specific to a particular disk 2 examples: E: \ students practice material \ students practice material \ 2 Zhou \ Exercises 3, paragraph 2 kinds: Network with http: // or https: // at the beginning 4 examples: https://timgsa.baidu.com/00C0E2 |
2 , the relative path
1 ../ previous level 2 ../../ on one level
example: 1.images/a.png 2.../images/a.png |
数字、字母、下划线:_ 且不以数字开头,不可以使用汉字,尽量用字母开头
在web中ps的主要作用
PS软件
1 主要是用来处理图片的 |
1、快捷键
1 Ctrl + + 放大 2 Ctrl + - 缩小 |
2、单位
1 像素px 2 W --- width宽 3 H --- height高 4 更换单位:ctrl + k |
3、取颜色
1 第一种:英语单词 2 红色:red 蓝色:blue 黄色:yellow 3 第二种:16进制 #数字0-9和a-f 随机组成6位 4 #123456 #abc978 #b3d332 |