摘要: 向数组{7,20,12,6,25}中添加一个不重复的数字,然后按照从小到大的顺序排列 源代码: 显示效果: 阅读全文
posted @ 2018-01-31 10:17 Davis16 阅读(2465) 评论(0) 推荐(0)
摘要: 源代码: 效果如下: 阅读全文
posted @ 2018-01-29 20:27 Davis16 阅读(2585) 评论(0) 推荐(0)
摘要: 源代码: 效果如下: 阅读全文
posted @ 2018-01-29 17:16 Davis16 阅读(2344) 评论(0) 推荐(0)
摘要: 源代码: 效果如下: 阅读全文
posted @ 2018-01-29 10:19 Davis16 阅读(336) 评论(0) 推荐(0)
摘要: 代码: 效果如下: 阅读全文
posted @ 2018-01-25 09:20 Davis16 阅读(434) 评论(0) 推荐(0)
摘要: DOM:文档对象模型 --树模型文档:标签文档,对象:文档中每个元素对象,模型:抽象化的东西 windows 对象:浏览器窗口信息document对象:浏览器显示的页面文件 一:window: window.shuxing; 属性(值或者子对象):opener:打开当前窗口的源窗口,如果当前窗口是首 阅读全文
posted @ 2018-01-23 10:58 Davis16 阅读(200) 评论(0) 推荐(0)
摘要: 1.html模板<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>模板</title></head><body></body></html>2.DOCTYPE声明放在html文件头部最新HTML5用<!DOCTYPE html>声明3 阅读全文
posted @ 2018-01-22 16:15 Davis16 阅读(412) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-01-19 19:20 Davis16 阅读(292) 评论(0) 推荐(0)
摘要: border 边框复合写法 border:border-width border-style border-color;border-width 边框宽度 border-style 边框样式:solid实线 dashed虚线 dotted点线 (点线 IE6不认)border-color 边框颜色: 阅读全文
posted @ 2018-01-19 13:19 Davis16 阅读(242) 评论(0) 推荐(0)
摘要: width 宽,height 高,background 背景;背景色 background-color:颜色值--英文单词/十六进制/rgb;背景图 background-image:url(‘图片路径’);背景图平铺 background-repeat:no-repeat / repeat-x / 阅读全文
posted @ 2018-01-19 10:30 Davis16 阅读(2031) 评论(0) 推荐(0)