摘要: <!DOCTYPE html><html> <head> <title></title> <meta charset="utf-8"> <style> body{ background: moccasin; } .login-form { /*background: #6A5ACD;*/ width 阅读全文
posted @ 2017-12-18 14:13 燕林夕 阅读(2927) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> function out (a) { for(var i=0;i<a. 阅读全文
posted @ 2017-12-18 14:06 燕林夕 阅读(188) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> input:focus{ background-color:yellow ; } </style> </head> 阅读全文
posted @ 2017-12-18 14:04 燕林夕 阅读(689) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> /** * 输出函数out * {obiect}a一个数组 * 选择排 阅读全文
posted @ 2017-12-18 14:00 燕林夕 阅读(163) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <p><input type="text" id="sfz" placeholder="请输入身份证号" /></p> <p><i 阅读全文
posted @ 2017-12-18 13:54 燕林夕 阅读(1246) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> function sanjiao(){ for(var i=0;i<9 阅读全文
posted @ 2017-12-18 13:49 燕林夕 阅读(6609) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <p>x的值为: <input type="text"id="num1" placeholder="请输入不为0的数字"/></p> 阅读全文
posted @ 2017-12-18 13:45 燕林夕 阅读(691) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <p><input type="text" name="jc" id="jc" placeholder="请输入数字" /></p> 阅读全文
posted @ 2017-12-18 13:43 燕林夕 阅读(4581) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> /*js实现:循环输出1000以内水仙花数*/ var a,b,c ; 阅读全文
posted @ 2017-12-18 13:42 燕林夕 阅读(5430) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"/> <title></title> </head> <body> <input type="text" id="cj" placeholder="输入整数"/> <input type="butto 阅读全文
posted @ 2017-12-18 13:41 燕林夕 阅读(1466) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> // 控制台输出三个*号 /*var c=0; while (c<3) 阅读全文
posted @ 2017-12-18 13:39 燕林夕 阅读(525) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> document.write("第一题:输出前20项斐波拉契数:"); 阅读全文
posted @ 2017-12-18 13:37 燕林夕 阅读(1147) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> var x=parseInt(Math.random()*10); v 阅读全文
posted @ 2017-12-18 13:36 燕林夕 阅读(650) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <p><h3>上税金额=(实际工资-起征税)*税率-扣除数</h3></p> <p><h3>应发工资=实际工资-[(实际工资-起征税) 阅读全文
posted @ 2017-12-18 13:34 燕林夕 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .container { float: left; font-size: 32px; } .container s 阅读全文
posted @ 2017-12-18 12:38 燕林夕 阅读(609) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .container{ width: 70%; margin: 50px auto; } </style> </h 阅读全文
posted @ 2017-12-18 12:20 燕林夕 阅读(1763) 评论(0) 推荐(0) 编辑