开始标签 | 用途(purpose) | nn | ie | dtd |
---|---|---|---|---|
基本标签 | ||||
<!doctype>? | 文档类型(defines the document type) | stf | ||
<html> | html文档(defines a html document) | 3.0 | 3.0 | stf |
<body> | body元素(defines the body element) | 3.0 | 3.0 | stf |
<h1> to <h6> | 标题1 -- 标题6(defines header 1 to header 6) | 3.0 | 3.0 | stf |
<p> | 段落(defines a paragraph) | 3.0 | 3.0 | stf |
<br /> | 换行(inserts a single line break) | 3.0 | 3.0 | stf |
<hr /> | 水平线(defines a horizontal rule) | 3.0 | 3.0 | stf |
<!--...--> | 注释(defines a comment) | 3.0 | 3.0 | stf |
char format | ||||
<b> | 粗体文本(defines bold text) | 3.0 | 3.0 | stf |
<font> | 文字的外观,大小和颜色(defines the font face, size, and color of text) | 3.0 | 3.0 | tf |
<i> | 文本为斜体(defines italic text) | 3.0 | 3.0 | stf |
<em> | 文本为重要(defines emphasized text)? | 3.0 | 3.0 | stf |
<big> | 文本增大(defines big text) | 3.0 | 3.0 | stf |
<strong> | 文本为非常重要(defines strong text) | 3.0 | 3.0 | stf |
<small> | 文本缩小(defines small text) | 3.0 | 3.0 | stf |
<sup> | 文本上标(defines superscripted text) | 3.0 | 3.0 | stf |
<sub> | 文本下标(defines subscripted text) | 3.0 | 3.0 | stf |
<bdo> | ???(defines the direction of text display) | 6.2 | 5.0 | stf |
<u> | 文本下划线(defines underlined text) | 3.0 | 3.0 | tf |
输出 | ||||
<pre> | 预先格式(保留文件中空格的大小)(defines preformatted text) | 3.0 | 3.0 | stf |
<code> | 码(显示源码用)(defines computer code text) | 3.0 | 3.0 | stf |
<tt> | 打印机字体(defines teletype text) | 3.0 | 3.0 | stf |
<kbd> | 键盘(defines keyboard text) | 3.0 | 3.0 | stf |
<dfn> | 定义(defines?a definition term) | ? | 3.0 | stf |
<var> | 变数(defines a variable) | 3.0 | 3.0 | stf |
<samp> | 样本(defines sample computer code) | 3.0 | 3.0 | stf |
<xmp> | 不赞成使用,使用<pre>代替(deprecated. defines preformatted text. use <pre> instead) | 3.0 | 3.0 | |
结构性定义 | ||||
<acronym> | 只取首字母的缩写词(defines an acronym) | 6.2 | 4.0 | stf |
<abbr> | 缩写(defines an abbreviation) | 6.2 | ? | stf |
<address> | 地址(defines an address element) | 4.0 | 4.0 | stf |
<blockquote> | 引文区块(defines an long quotation) | 3.0 | 3.0 | stf |
<center> | 句中对齐(defines centered text) | 3.0 | 3.0 | tf |
<q> | 引用短语(defines a short quotation) | 6.2 | 4.0 | stf |
<cite> | 引文(defines a citation) | 3.0 | 3.0 | stf |
<ins> | 插入(defines inserted text) | 6.2 | 4.0 | stf |
<del> | 删除(defines deleted text) | 6.2 | 4.0 | stf |
<s> | 删除线(defines strikethrough text) | 3.0 | 3.0 | tf |
<strike> | 删除线(defines strikethrough text) | 3.0 | 3.0 | tf |
链接 | ||||
<a> | 链接(defines an anchor) | 3.0 | 3.0 | stf |
<link> | 资源参考??(defines a resource reference) | 4.0 | 3.0 | stf |
框架 | ||||
<frame> | 定义个别视框(defines a sub window (a frame)) | 3.0 | 3.0 | f |
<frameset> | 视框格式总定义(defines a set of frames) | 3.0 | 3.0 | f |
<noframes> | 无视框时的内容(defines a noframe section) | 3.0 | 3.0 | tf |
<iframe> | 定义嵌入视图(defines an inline sub window (frame)) | 6.0 | 4.0 | tf |
输入 | ||||
<form> | 定义表单(defines a form) | 3.0 | 3.0 | stf |
<input /> | 定义输入域(defines an input field) | 3.0 | 3.0 | stf |
<textarea> | 输入区换行方式(defines a text area) | 3.0 | 3.0 | stf |
<button> | 按钮(defines a push button) | 6.2 | 4.0 | stf |
<select> | 下拉式选单(defines a selectable list) | 3.0 | 3.0 | stf |
<optgroup> | 选项组(defines an option group) | 6.0 | 6.0 | stf |
<option> | 列表选项(defines an item in a list box) | 3.0 | 3.0 | stf |
<label> | 标签(用于表单控制?)(defines a label?for a form control) | 6.2 | 4.0 | stf |
<fieldset> | 域(defines a fieldset) | 6.2 | 4.0 | stf |
<legend> | 域标题(defines a title in a fieldset) | 6.2 | 4.0 | stf |
<isindex> | 不建议使用(可搜寻,使用input代替)(deprecated. defines a single-line input field. use <input> instead) | 3.0 | 3.0 | tf |
列举 | ||||
<ul> | 无次序式列举(defines an unordered list) | 3.0 | 3.0 | stf |
<ol> | 有次序式列举(defines an ordered list) | 3.0 | 3.0 | stf |
<li> | 每条项目列表(defines a list item) | 3.0 | 3.0 | stf |
<dir> | 目录式列举(defines a directory list) | 3.0 | 3.0 | tf |
<dl> | 定义式列举(defines a definition list) | 3.0 | 3.0 | stf |
<dt> | 定义项目(defines a definition term) | 3.0 | 3.0 | stf |
<dd> | 定义说明(defines a definition description) | 3.0 | 3.0 | stf |
<menu> | 菜单列表(defines a menu list) | 3.0 | 3.0 | tf |
图片 | ||||
<img /> | 图片(defines an image) | 3.0 | 3.0 | stf |
<map> | 图片地图(defines an image map)? | 3.0 | 3.0 | stf |
<area /> | 图片热点(defines an area inside an image map) | 3.0 | 3.0 | stf |
表格 | ||||
<table> | 表格(defines a table) | 3.0 | 3.0 | stf |
<caption> | 表格抬头(defines a table caption) | 3.0 | 3.0 | stf |
<th> | 表格标题(defines a table header) | 3.0 | 3.0 | stf |
<tr> | 行(defines a table row) | 3.0 | 3.0 | stf |
<td> | 单元格(列)(defines a table cell) | 3.0 | 3.0 | stf |
<thead> | 定义表格头(defines a table header) | 4.0 | stf | |
<tbody> | 定义表格主体(defines a table body) | 4.0 | stf | |
<tfoot> | 定义表格脚(defines a table footer) | 4.0 | stf | |
<col> | 定义特有特征(defines attributes for table columns)? | 3.0 | stf | |
<colgroup> | 定义特征集合(defines groups of table columns) | 3.0 | stf | |
样式 | ||||
<style> | 样式定义(defines a style definition) | 4.0 | 3.0 | stf |
<div> | 在文档中定义一个区域(defines a section in a document) | 3.0 | 3.0 | stf |
<span> | 在文档中定义一个区域(defines a section in a document) | 4.0 | 3.0 | stf |
头信息 | ||||
<head> | 定语关于文档的信息(defines information about the document) | 3.0 | 3.0 | stf |
<title> | 定义文档标题(defines the document title) | 3.0 | 3.0 | stf |
<meta> | 定义背景资讯(defines meta information) | 3.0 | 3.0 | stf |
<base /> | 基本文档中所有链接的基准(defines a base url for all the links in a page) | 3.0 | 3.0 | stf |
<basefont /> | 定义基本字体(defines a base font) | 3.0 | 3.0 | tf |
脚本、引用外部对象相关 | ||||
<script> | 定义脚本(defines a script) | 3.0 | 3.0 | stf |
<noscript> | 定义无脚本的显示区域(defines a noscript section) | 3.0 | 3.0 | stf |
<applet> | 定义java程序(defines an applet) | 2.0 | 3.0 | tf |
<object> | 定义内嵌对象(defines an embedded object) | ? | 3.0 | stf |
<param> | 定义对象的参数(defines a parameter for an object) | 3.0 | 3.0 | stf |
新闻热点
疑难解答