XHTML 1.0 参考
所属分类:
网页制作 / HTML/Xhtml
阅读数:
1163
收藏 0赞 0分享
按功能排列
NN: 表明哪个早期Netscape版本支持这个标签
IE: 表明哪个早期Internet Explorer版本支持这个标签
DTD: 表明符合XHTML 1.0 DTD 何级别的定义 . S=Strict(严格), T=Transitional(过渡), and F=Frameset(框架)
开始标签 |
用途(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
网页注释在IE中产生文字溢出
实验代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transiti
收藏 0赞 0分享
HTML教程:定义列表
原文:http://andymao.com/andy/post/104.html
上一节:有序列表
写完“无序列表”和“有序列表”之后已经有人和我说这两篇看得没什么意思。这两篇文章如果只以单向读取的形式阅读那么的确是没什
收藏 0赞 0分享
HTML教程:有序列表
原文:http://andymao.com/andy/post/103.html
上一节:无序列表
信息有时候是无序归纳的,有的却有着明确的顺序,在上一篇也提到了。那么简单的来想一下身边有哪些事物是有先后顺序的:操作步骤、排行榜、书目录……
收藏 0赞 0分享
HTML教程:无序列表
原文:http://andymao.com/andy/post/102.html
段落已经讲完了,那么一些基本的应用方式也讲了一些,那么是否已经应用了呢?当然应用可以更为丰富,那么这些就需要自己在实际工作中不断的摸索与思考,然后创新并总结得出新的应用形式。当然了段落不能当作
收藏 0赞 0分享
HTML网页制作的强大8条技巧
虽然现在有许多网页制作工具能让您轻松地完成工作,但如果使用HTML则可以得到更大控制权,下面介绍几个小技巧。
1。使用<tt>,<i>,<br>语句来控制文字排版比用<pre>好得多。 如: <tt>实用
收藏 0赞 0分享
网页表格分割线去除方法
网页表格分割线去除方法。
其实上面的三个表格都有三行三列,隐藏分隔线的诀窍在于rules,察看这三个表格的源代码,我们可以看到<TABLE>标签中都有rules。它有三个参数(cols,rows,none),当rules=cols时,表格会隐藏纵向的分隔线,这
收藏 0赞 0分享
blockquote标记应用注意
关于语义化,不是一句两句就能说明白的,而且现在也没有一个官方的很严格的定义。关于<blockquote>没有争议的是:
1.引用一段较长的文字
2.可以使用cite标签或者属性
问题是<blockquote>引用的文字必须使用块级元素将他
收藏 0赞 0分享
网页表格表框制作技巧
网页表格表框制作技巧。
--------------------------------------------------------------------------------
表格边框的显示与隐藏,是可以用frame参数来控制的。请注意它只控制表格的边框图,而不
收藏 0赞 0分享
HTML其实就是学习几个重要标记的应用
《这将是一场革命》一文出来以后。得到业界大伙的认同,当然与此同时也得到部分来自内部与外部的挑衅,不过的更加多的是更多人来寻问每一个点的细节。今晚回家很早就睡了,半夜在一个梦中醒来,梦里正在和小学的同学玩一个游戏——“The Next&rdquo
收藏 0赞 0分享
移动端专用的meta标签设置大全
不知道有没有人觉得,html的meta标签描述的头部信息特别多,下面这篇文章主要给大家分享介绍了关于移动端专用的meta设置的相关资料,文中通过示例代码介绍的非常详细,需要的朋友可以参考借鉴,下面随着小编来一起学习学习吧
收藏 0赞 0分享
查看更多