行为 样式 结构 要分离js css html别加行间样式!别加行间事件!优先级:* < class < id < 行间
<html> <!-- --> <head> <script language="JavaScript"> window.onload = function () //匿名函数 { var operaBtn_all = document.getElementById('all_checked');//全选 var operaBtn_
<html> <!-- 写这个程序的时候出现的错误: 1、document.getElementsByName() 少些了一个字母是中间 ments,的s字母 2、第二次写的时候window. {width:200px; height:200px; float:left; border:1px solid black; margin:10px;} </style> &
JS实现换肤的效果:需要2个csspifu1.css:body {background:#ccc; } input {background:#12f; width:100px; height:100px; }pifu2.css:body {background:#acd; } input {background:#fe2; width:200px; height:100px; }html代码:&l
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号