XHTML Tags

来源:互联网 发布:网络信息安全涉及 编辑:程序博客网 时间:2024/04/30 10:15

 A text with a span element that can be styled with CSS:

<p>My mother has <span class="blue">light blue</span> eyes.</p>

 

<div><span><acronym title="acronym message">sadfasd</acronym></span></div>

<i>keyword</i>斜体字体
<sup></sup>上标的内容;<sub></sub>下标的内容
<span></span>组合行内的元素;进行行内的控制
<dl><dt><dd>: 定义列表
<a href="" title="helper finromation" tabindx="1">sdfs</a> 显示连接的内容;显示用户的tab索引
table align可以用以指定对齐方式: align="right/left/justify/char";groups属性可以定义单元格之间的线条
<colgroup><col></col><col span="2"></col><colgroup>
----------------------------------------------------------------------------------------------
Frameset
frame. frameborder,scrolling,noresize,

<fieldset>
</fieldset>
form
<input type="password/text/checkbox/radio/button/image/file/submit" id="" value="" size="" maxlength="" checked/>
<form action="xx.cgi" method="post" enctype="form/multipart"></form>
<select >,<optgroup><option></option></optgroup>

JavaScript:
eval(x):计算基本的运算

<meta http-equiv="Content-Type" content="text/html;charset=EN-US"/>

window.open("example.htm","newWindow", "width=400,height=400,scrollbars=no,resizable=no");
String.split("/");
<link rel="stylesheet" type="text/css" herf="mystyle.css"/>

css selector: *.xxxselector {};  可以被多个元素匹配到。
p.selector{}: 与p相关联
#comment {}: 与id相关联
selector[attribute="value"]{};
div.div2 li: 所有的li节点
div.div2 > table + p:  div2.table: 其为父子关系。
伪类:
   
:link  { color: blue; }
:visited { color: red; }
:hover {color: green; }


 h1:before {content: "Chapter " counter(chapter) ": ";
           counter-increment: chapter;
           counter-reset: section; }
----------------------------------------------------------------------------------------------
target:
_blank: open new window, show the content.
_parent: 在当前祯的父镇中显示内容
_self:  当前真
_top:  当前的真,不是其他的

原创粉丝点击