当前位置: 首页 > 图文教程 > 网页制作 > HTML/XHTML教程 > XHTML 1.0

HTML/XHTML教程
一些不太常用的XHTML标签用法以及实例
网页中图片的设置涉及的三个问题
商业HTML邮件的制作建议
HTML Marquee 字符片段滚动
DOCTYPE 文档类型声明(网页爱好者必看)
纯HTML标签你熟悉多少?
HTML元素的ID和Name属性的区别
HTML meta的大作用
HTML标签tbody的用法与说明
HTML 特殊字符转换表
HTML基础 HTML的组成结构
HTML基础之HTML内容细则
Shtml 精简教程
浅谈html table 标签
html Frame、Iframe、Frameset 的区别
HTML 网页页面切换的各种变换效果
HTML的10个表格相关标记
让IE8启动IE7兼容模式的代码
HTML 结构化实现方法
xhtml的块级标记小结

HTML/XHTML教程 中的 XHTML 1.0


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-04   浏览: 53 ::
收藏到网摘: n/a

  按功能排列
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