摘要: 作为前端开发的常用工具之一--Hbuilder 一些常用的快捷键: Hbuilder 下载地址:http://www.dcloud.io/ HBuilder常用的快捷键:Alt + [ 匹配括号Alt + ↓跳转到下一个可编辑区Ctrl + Alt + j 合并下一行Ctrl + Alt + ←选择 阅读全文
posted @ 2018-02-01 22:43 Davis16 阅读(3011) 评论(0) 推荐(0)
摘要: 向数组{7,20,12,6,25}中添加一个不重复的数字,然后按照从小到大的顺序排列 源代码: 显示效果: 阅读全文
posted @ 2018-01-31 10:17 Davis16 阅读(2454) 评论(0) 推荐(0)
摘要: 源代码: 效果如下: 阅读全文
posted @ 2018-01-29 20:27 Davis16 阅读(2572) 评论(0) 推荐(0)
摘要: 源代码: 效果如下: 阅读全文
posted @ 2018-01-29 17:16 Davis16 阅读(2308) 评论(0) 推荐(0)
摘要: 源代码: 效果如下: 阅读全文
posted @ 2018-01-29 10:19 Davis16 阅读(316) 评论(0) 推荐(0)
摘要: 代码: 效果如下: 阅读全文
posted @ 2018-01-25 09:20 Davis16 阅读(402) 评论(0) 推荐(0)
摘要: DOM:文档对象模型 --树模型文档:标签文档,对象:文档中每个元素对象,模型:抽象化的东西 windows 对象:浏览器窗口信息document对象:浏览器显示的页面文件 一:window: window.shuxing; 属性(值或者子对象):opener:打开当前窗口的源窗口,如果当前窗口是首 阅读全文
posted @ 2018-01-23 10:58 Davis16 阅读(165) 评论(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 阅读(384) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-01-19 19:20 Davis16 阅读(266) 评论(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 阅读(220) 评论(0) 推荐(0)