zoukankan      html  css  js  c++  java
  • 静态代码

    静态代码

    html语言中<META>标签charset=gb2312和charset=utf-8有什么区别?

    uft-8国际编码。 gb2312是简体中文
    如果出现乱码了。就用记事本打开。加入gb2312就行了。

    设为首页,加入收藏

    <a style="CURSOR: hand;color:#FFFFFF; font-size:12px"  onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.weilian56.com')"  href="http://www.weilian56.com#">[设为首页]</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="http://www.toa56.com/images/qq.gif" height="29" width="68" style="vertical-align:middle"></a>

      

    鼠标放上去变样式 一[<span onmouseout="this.style.background='';this.style.color='#000000'" onclick="doedit(this.id)" style="cursor:hand" title="点击修改" onmouseover="this.style.background='highlight';this.style.color='#ffffff'" id="setyear">2007</span>]第<span onmouseout="this.style.background='';this.style.color='#000000'" onclick="doedit(this.id)" style="cursor:hand" title="点击修改" onmouseover="this.style.background='highlight';this.style.color='#ffffff'" id="getcode">123456</span>号

    <tr>
        <td height="38" colspan="2" align="center" onmouseover="this.style.background='highlight';this.style.color='#ffffff'" 
     onmouseout="this.style.background='';this.style.color='#000000'" style="cursor:hand" onclick='javascript:alert(111)'>变色</td>
      </tr>

    下划线: onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'"

     
    鼠标放上去变样式 二(我制作的)

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <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; 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; 72px; height:18px}
    .selec select{margin:-2px -2px 0 -1px; 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; 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 onmouseover="this.className='on'" onmouseout="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>

  • 相关阅读:
    Kernel panic
    elasticsearch5.4 安装篇
    nginx 切割日志文件
    dl 320e gen8 v2 安装2008 r2 系统
    idea开发配置
    红黑树
    二叉搜索树
    Object
    nginx
    docker
  • 原文地址:https://www.cnblogs.com/aimyfly/p/2315602.html
Copyright © 2011-2022 走看看