HTML 标签补充

HTML

<meta charset="UTF-8>  //页面编码

<meta http-equiv="Refresh"  Content="30">  //每30s刷新

<meta http-equiv="Refresh"  Content="10; url=http://www.baidu.com">  //隔5秒,跳转到另外一个页面

<! --   -->  //注释

关键字:

<meta name="keywords" content="key1, key2, key3">

描述:

<meta name="description" content="This is the description for the web site">

X-UA-Compatible

Link (for css style)

ICON

<link rel="short cut" href="xx.icon"/>

title

 ---------------------------------------------------------------------------------------

Body 中,分为内联标签和块级标签。 下面为两种分类的样例。

1. 块级标签:占用整行; 内联标签:本身有多长,就占用多少, 下一个挨着上一个放置

2. 特殊字符  > &gt;       <  &lt;

3. 段落标签 <p></p>   段落之间有换行,间隔比较大; <br/>用作换行; <a target="_blank" href="www.etiantian.com">link to etiantian</a> 超链;

4. 书签,使用ID 来做,跳转到使用href="#ID"

原文地址:https://www.cnblogs.com/hanxiangmin/p/6489644.html