摘要: <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> #box{ color: red; } </style> </head> <body> <h2>你要什么</h2> <p title ='选择你的课程'>本课程 阅读全文
posted @ 2020-12-22 10:40 *!Walter!* 阅读(71) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title></title> </head> <body> <h2>你要什么</h2> <p title ='选择你的课程'>本课程是web课程</p> <ul id='classList'> <li class="item">javas 阅读全文
posted @ 2020-12-22 10:39 *!Walter!* 阅读(62) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title></title> </head> <body> <!-- 1.元素节点(element node) p ul li 2.文本节点(text node) 元素包含的内容都是文本节点 3.属性节点(attribute) <p ti 阅读全文
posted @ 2020-12-22 10:37 *!Walter!* 阅读(48) 评论(0) 推荐(0) 编辑
摘要: DOM 文档对象模型 js中对象分类的三种: 1.用户定义对象 2.内建对象 Array Date Math Model Map(地图) DOM 看作一颗 '树' DOM 把文档看作一颗 '家谱树' 阅读全文
posted @ 2020-12-22 10:34 *!Walter!* 阅读(56) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> #box{ color: red; } </style> </head> <body> <h2>你要什么</h2> <p title ='选择你的课程'>本课程 阅读全文
posted @ 2020-12-22 10:32 *!Walter!* 阅读(67) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title></title> </head> <body> <h2>你要什么</h2> <p title ='选择你的课程'>本课程是web课程</p> <ul id='classList'> <li class="item">javas 阅读全文
posted @ 2020-12-22 10:31 *!Walter!* 阅读(59) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <div></div> <script type="text/javascript"> //alert 提示框 alert('wal 阅读全文
posted @ 2020-12-21 15:51 *!Walter!* 阅读(66) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <!-- 浏览器对象模型 BOM --> <!-- 1.window alert() confirm() prompt() setI 阅读全文
posted @ 2020-12-21 15:22 *!Walter!* 阅读(49) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title>for循环</title> </head> <body> <script type="text/javascript"> // for(初始化条件;结束条件;递增条件){ // run this code // } var i 阅读全文
posted @ 2020-12-21 15:20 *!Walter!* 阅读(86) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title>三元运算</title> </head> <body> <script type="text/javascript"> // (条件) ? run this code : run this code; var isresult 阅读全文
posted @ 2020-12-21 11:01 *!Walter!* 阅读(58) 评论(0) 推荐(0) 编辑