摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body> <select id="province" onchange="func1(this)"></select> 阅读全文
posted @ 2017-12-13 15:21 归来仍是少年! 阅读(1633) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; } #div{ font-size: 50px; text-align: center; l 阅读全文
posted @ 2017-12-12 18:09 归来仍是少年! 阅读(898) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .div1{ color: #0000cc; font-size: 20px; } </style></head><bo 阅读全文
posted @ 2017-12-12 14:51 归来仍是少年! 阅读(12516) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body> <div id="div1"> </div> <input value="加张图片" id="img" typ 阅读全文
posted @ 2017-12-12 11:51 归来仍是少年! 阅读(9730) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body> <div id="div1">博客园</div> <input type="button" value="变大 阅读全文
posted @ 2017-12-12 09:57 归来仍是少年! 阅读(17875) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> #div1{ height:800px; width: auto; background-color: #204982; 阅读全文
posted @ 2017-12-12 01:26 归来仍是少年! 阅读(7923) 评论(0) 推荐(1) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> #div1{ background-color: #2b99ff; height: 400px; width: 500p 阅读全文
posted @ 2017-12-11 17:44 归来仍是少年! 阅读(3058) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body> <div id="div1">HELLO DIV <p>hello p</p> </div><script> 阅读全文
posted @ 2017-12-11 16:21 归来仍是少年! 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 第一种方法:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body> <form onsubmit="return func1()"> // 这里的onsunbmit 阅读全文
posted @ 2017-12-11 16:01 归来仍是少年! 阅读(1551) 评论(0) 推荐(0) 编辑
摘要: 1,鼠标焦点事件<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body> <p ondblclick="alert('hello!')">博客园</p> <input 阅读全文
posted @ 2017-12-11 14:21 归来仍是少年! 阅读(1765) 评论(0) 推荐(0) 编辑