html练习
来源:互联网 发布:linux下tcp编程实例 编辑:程序博客网 时间:2024/05/16 11:46
<!DOCTYPE html><html><head><meta charset="utf-8" /><title>HTML5</title><style type="text/css">td{border-style:solid;border-width:1px;font-size:300%;}td:hover{background-color:cyan;}#hoverResult{color:gren;font-size:200%;}</style></head><body><section><table><tr><td>A1</td><td>A2</td><td>A3</td><tr></tr><td>A1</td><td>A2</td><td>A3</td><tr></tr><td>A1</td><td>A2</td><td>A3</td></tr></table><div> Foucs The Button.Hover over the talb ecessl. and hit Enter to identity tem using querySelector('td:hover').</div><button type="button" id="findHover" autofocus>Find 'td:hover' target </button><div id="hoverResult">1111</div><script type="text/javascript">document.getElementById("findHover").onclick=function(){var hovered=document.querySelector("td");alert(hovered);if(hovered){document.getElementById("hoverResult").innerHTML=hovered.innerHTML;}}</script></section></body></html>
0 0
- Html练习
- HTML练习
- html练习
- Html 练习
- HTML练习
- html练习
- html练习
- html练习
- HTML练习代码
- HTML自定义对象练习
- Java html 练习小记
- HTML练习(2)
- 新生练习html 菜单
- html学习:练习2.1
- html练习(1)
- html练习(2)
- html练习(3)
- html练习(4)
- 【软件管理器的开放】视频学习小结2:requestWindowFeature运行进度条和ProgressDialog进度条回话框
- 根据Map的value进行排序
- myeclipse 项目部署tomcat出错
- ios8无法横屏的猜测
- chmod 4775 四位数中第一位详解
- html练习
- JDBC编程访问数据库步骤
- 指针的算术操作
- Android的StrictMode
- 开始cocos2dx学习小记:MacOS下使用cocos2dx创建项目遇到permission denied
- xxx is not in the sudoers file. This incident will be reported.
- implicit instantiation of undefined template 'std::basic_stringstream<char,std::char_trats<char>,std
- android listview 删除item 刷新 notifyDataSetChanged()失效问题
- IRedisTransaction