鼠标经过区块会变色的实验

前端之家收集整理的这篇文章主要介绍了鼠标经过区块会变色的实验前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

< html >

< head >

< Meta  http-equiv ="Content-Type"  content ="text/html; charset=gb2312"   />

< title > Untitled Document </ title >

</ head >


< body >

< table  width ="761"  height ="119"  border ="1" >

  
< tr  onmouSEOver ='this.style.backgroundColor="#f6f6f6"'  onMouSEOut ='this.style.backgroundColor=""' >

    
< td > &nbsp; </ td >

    
< td > &nbsp; </ td >

    
< td > &nbsp; </ td >

  
</ tr >

  
< tr  onMouSEOver ='this.style.backgroundColor="#f6f6f6"'  onMouSEOut ="this.style.backgroundColor=''" >

    
< td > &nbsp; </ td >

    
< td > &nbsp; </ td >

    
< td > &nbsp; </ td >

  
</ tr >

  
< tr >

    
< td  onMouSEOver ="this.style.backgroundColor='#f6f6f6'"  onMouSEOut ="this.style.backgroundColor=''" > &nbsp; </ td >

    
< td  onMouSEOver ="this.style.backgroundColor='#f6f6f6'"  onMouSEOut ="this.style.backgroundColor=''" > &nbsp; </ td >

    
< td  onMouSEOver ="this.style.backgroundColor='#f6f6f6'"  onMouSEOut ="this.style.backgroundColor=''" > &nbsp; </ td >

  
</ tr >

</ table >

</ body >

</ html >
 下面还有一种方法

   < tr  onMouSEOver ='this.bgColor="#f6f6f6"'  onMouSEOut ="this.bgColor=''" >

    
< td > &nbsp; </ td >

    
< td > &nbsp; </ td >

    
< td > &nbsp; </ td >

  
</ tr >

猜你在找的区块链相关文章