Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions 01-HTML/04-HTML标签:排版标签.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish: true

排版标签:

- `<h1>`
- `<h1>~<h6>`

- `<p>`

Expand All @@ -22,8 +22,6 @@ publish: true

- `<span>`

- `<center>`

- `<pre>`


Expand Down Expand Up @@ -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>`

Expand Down
6 changes: 2 additions & 4 deletions 01-HTML/05-HTML标签:字体标签和超链接.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish: true

### 特殊字符(转义字符)

- `&nbsp;`:空格 (non-breaking spacing,不断打空格
- `&nbsp;`:空格 (non-breaking spacing,不打断空格
- `&lt;`:小于号`<`(less than)
- `&gt;`:大于号`>`(greater than)
- `&amp;`:符号`&`
Expand Down Expand Up @@ -82,16 +82,14 @@ http://img.smyhvae.com/2015-10-01-cnblogs_html_13.png)



### 粗体标签`<b>`或`<strong>`(已废弃)
### 粗体标签 `<b>`或`<strong>`

效果:

![Paste_Image.png](http://img.smyhvae.com/2015-10-01-cnblogs_html_14.png)





### 字体标签`<font>`(已废弃)

属性:
Expand Down