摘要: /** * 获取本周、本季度、本月、上月的开始日期、结束日期 */ var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMo 阅读全文
posted @ 2016-09-27 19:51 天魂殇 阅读(799) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> #a{width: 90%;height: 400px; overflow: scroll; border: 1px blac 阅读全文
posted @ 2016-05-23 08:32 天魂殇 阅读(162) 评论(0) 推荐(0)
摘要: <ul id="a"> <li>aaaaaaaaa</li> <li>bbbbbbbbb</li> <li>ccccccccc</li> </ul> <br/> <input type="button" value="增加10节点" onclick="c()"/> <br/><br/><br/><b 阅读全文
posted @ 2016-05-23 08:31 天魂殇 阅读(191) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> #fuhao{width: 20px} </style> </head> <body> <div> <input type=" 阅读全文
posted @ 2016-05-15 17:20 天魂殇 阅读(1335) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { margin: 0; padding: 0 } p { width: 400px; font-size: 30px; 阅读全文
posted @ 2016-05-15 17:18 天魂殇 阅读(220) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <!--<meta http-equiv="content-type" content="text/html"; charset="GB2312"/>--> <title>< 阅读全文
posted @ 2016-05-08 19:07 天魂殇 阅读(157) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> .div1{ border: 5px solid black; } .div2{ width: 91px; height: 139 阅读全文
posted @ 2016-04-10 17:48 天魂殇 阅读(1353) 评论(0) 推荐(0)
摘要: 块级元素: <caption></caption>定义表格标题 <dd></dd>定义列表中定义条目 <div></div>定义文档中的分区或节 <dl></dl>定义列表 <dt></dt>定义列表中的项目 <fieldset></fieldset>定义一个框架集 <form></form>创建 阅读全文
posted @ 2016-04-09 16:51 天魂殇 阅读(504) 评论(0) 推荐(0)