静态代码
html语言中<META>标签charset=gb2312和charset=utf-8有什么区别?
uft-8国际编码。 gb2312是简体中文如果出现乱码了。就用记事本打开。加入gb2312就行了。
设为首页,加入收藏
<a style="CURSOR: hand;color:#FFFFFF; font-size:12px" οnclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.weilian56.com')" href="#">[设为首页]</a> <a href="javascript:window.external.AddFavorite('http://www.weilian56.com',%20'威廉货运有限公司')" style="color:#FFFFFF; font-size:12px">[加入收藏]</a>
在线QQ
QQ联系: <a href='tencent://message/?uin=494627306&Site=www.toa56.com&Menu=yes' target='_blank'><img border=0 src="" height="29" width="68" style="vertical-align:middle"></a>
鼠标放上去变样式 一[<span οnmοuseοut="this.style.background='';this.style.color='#000000'" οnclick="doedit(this.id)" style="cursor:hand" title="点击修改" οnmοuseοver="this.style.background='highlight';this.style.color='#ffffff'" id="setyear">2007</span>]第<span οnmοuseοut="this.style.background='';this.style.color='#000000'" οnclick="doedit(this.id)" style="cursor:hand" title="点击修改" οnmοuseοver="this.style.background='highlight';this.style.color='#ffffff'" id="getcode">123456</span>号
<tr> <td height="38" colspan="2" align="center" οnmοuseοver="this.style.background='highlight';this.style.color='#ffffff'" οnmοuseοut="this.style.background='';this.style.color='#000000'" style="cursor:hand" οnclick='javascript:alert(111)'>变色</td> </tr>
下划线: οnmοuseοver="this.style.textDecoration='underline'" οnmοuseοut="this.style.textDecoration='none'"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns=""><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /></head><style type="text/css">body{font-size:14px; margin:0; padding:0}.biaoge td{BORDER: #e8e0be 1px solid; FONT-SIZE:12px; COLOR: #000000; TEXT-ALIGN: center; line-height:180%}.biaoge input{height:26px; vertical-align:middle; line-height:26px; color:#0a7ae2;FONT-SIZE:14px; padding:0; margin:0; border-top:#ffffff 1px solid;border-left:#ffffff 1px solid;border-right:#ffffff 1px solid;border-bottom:#f6f6f6 1px solid; text-align:center}.biaoge span{color:#000000}.biaoge div{float:left; width:40px; text-align:center;FONT-SIZE:12px;}.biaoge .big{font-size:16px; color:#FF6600; font-weight:bold}.biaoge p{padding:0;FONT-SIZE:12px;margin:0}.selec{overflow:hidden; width:72px; height:18px}.selec select{margin:-2px -2px 0 -1px; width:74px}.on{BACKGROUND: #f8f5e8; cursor:pointer}.on td{BORDER: #e8e0be 1px solid; FONT-SIZE:12px; COLOR: #a200ff; TEXT-ALIGN: center; line-height:180%}.on div{float:left; width:40px; text-align:center;FONT-SIZE:12px; COLOR: #a200ff}.on .big{font-size:16px; color:#a200ff; font-weight:bold}</style><body> <TABLE width="997" border=0 align=center cellPadding=0 cellSpacing=1 class="biaoge"><TBODY><TR οnmοuseοver="this.className='on'" οnmοuseοut="this.className='out'"><td width="66"><div>开幕式</div><div>进行中</div><div class="big">结束</div></td><td width="66"><div>开幕式</div><div>进行中</div><div class="big">结束</div></td><td width="66"><div>开幕式</div><div>进行中</div><div class="big">结束</div></td><td width="66"><div>开幕式</div><div>进行中</div><div class="big">结束</div></td><td width="66"><div>开幕式</div><div>进行中</div><div class="big">结束</div></td><td width="66"><div>开幕式</div><div>进行中</div><div class="big">结束</div></td><td width="76"><div>开幕式</div><div>进行中</div><div class="big">结束</div></td></TR></TBODY></TABLE> </body></html>