HTML常用标签的语法和属性
网页中JavaScript的书写位置
1.写在行内 <input type='button' value='按钮' onclick='alert('Hello World')' /> 2.写在script标签中 <head> <script> alert('Hello World!'); </script></head> 3.写在外部j...
css实现背景颜色渐变的代码
js打印输出99乘法表的代码
网站页面用js实现倒计时的代码
js获取当前日期时间的代码 //获取当前日期时间 var date=new Date(); //年 var year=date.getFullYear(); //月 var month=date.getMonth()+1; //日 var day=date.getDate(); //时 var hour=date...














