HTML,CSS,JS知识点集

1、.box{ width:200px;height:200px;background:red;} onmouseover="document.getElementById('div1').className='box';"  //不能用class,要用className     这行代码表示鼠标移入id='div1'的class='box'   2、onclick="alert('a');" /
相关文章
相关标签/搜索