mirror of
https://github.com/qianguyihao/Web.git
synced 2024-11-01 13:34:46 +08:00
Merge c2eb45a43a
into 81fd5e43fc
This commit is contained in:
commit
c85ca19054
@ -10,7 +10,7 @@ publish: true
|
||||
|
||||
排版标签:
|
||||
|
||||
- `<h1>`
|
||||
- `<h1>~<h6>`
|
||||
|
||||
- `<p>`
|
||||
|
||||
@ -22,8 +22,6 @@ publish: true
|
||||
|
||||
- `<span>`
|
||||
|
||||
- `<center>`
|
||||
|
||||
- `<pre>`
|
||||
|
||||
|
||||
@ -225,14 +223,6 @@ div举例:
|
||||
|
||||
我们亲切地称这种模式叫做“**div+css**”:**div标签负责布局、结构、分块,css负责样式**。
|
||||
|
||||
## 内容居中标签 `<center>`
|
||||
|
||||
此时center代表是一个标签,而不是一个属性值了。只要是在这个标签里面的内容,都会居于浏览器的中间。
|
||||
效果演示:
|
||||
|
||||
![Paste_Image.png](http://img.smyhvae.com/2015-10-01-cnblogs_html_06.png)
|
||||
|
||||
到了HTML5里面,center标签不建议使用,建议使用css布局来实现。
|
||||
|
||||
## 预定义(预格式化)标签`<pre>`
|
||||
|
||||
|
@ -16,7 +16,7 @@ publish: true
|
||||
|
||||
### 特殊字符(转义字符)
|
||||
|
||||
- ` `:空格 (non-breaking spacing,不断打空格)
|
||||
- ` `:空格 (non-breaking spacing,不打断空格)
|
||||
- `<`:小于号`<`(less than)
|
||||
- `>`:大于号`>`(greater than)
|
||||
- `&`:符号`&`
|
||||
@ -82,7 +82,7 @@ http://img.smyhvae.com/2015-10-01-cnblogs_html_13.png)
|
||||
|
||||
|
||||
|
||||
### 粗体标签`<b>`或`<strong>`(已废弃)
|
||||
### 粗体标签 `<b>`或`<strong>`
|
||||
|
||||
效果:
|
||||
|
||||
@ -90,8 +90,6 @@ http://img.smyhvae.com/2015-10-01-cnblogs_html_13.png)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### 字体标签`<font>`(已废弃)
|
||||
|
||||
属性:
|
||||
|
Loading…
Reference in New Issue
Block a user