03 2022 档案

摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> #div1{ background-color: blueviolet; height: 100px; width 阅读全文
posted @ 2022-03-30 17:36 lwx_R 阅读(33) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p>this is p</p> <button type="button" id="btn1">btn1</button> <bu 阅读全文
posted @ 2022-03-28 16:55 lwx_R 阅读(10) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > // JSON用途和web服务器进行数据传输 // 数据类型不能为函数 日期 undefined var tex 阅读全文
posted @ 2022-03-24 19:17 lwx_R 阅读(12) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p class="p1">p1</p> <p>p2</p> <script type="text/javascript" src= 阅读全文
posted @ 2022-03-23 19:43 lwx_R 阅读(32) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title id="tit">node</title> </head> <body id="b"> <!-- title的子节点为文本节点:Node h1和p为同胞 --> <h1 id="h 阅读全文
posted @ 2022-03-21 19:18 lwx_R 阅读(19) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p id="p1">here</p> <div id="div1"> <p id="p2"> div+p+bubbing; </p 阅读全文
posted @ 2022-03-21 18:26 lwx_R 阅读(142) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body onload="checkCook()"> <h1 id="h1" onclick="this.innerHTML='Hello'"> 阅读全文
posted @ 2022-03-20 17:08 lwx_R 阅读(23) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> #container{ width: 400px; height: 400px; position: relative; background: 阅读全文
posted @ 2022-03-20 13:52 lwx_R 阅读(24) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <form name="myForm" action="" method="post" onsubmit="return dateF 阅读全文
posted @ 2022-03-19 17:37 lwx_R 阅读(9) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p id="p1"> Here is a p </p> <p class="p2"> p2 frist </p> <p class 阅读全文
posted @ 2022-03-19 17:22 lwx_R 阅读(16) 评论(0) 推荐(0) 编辑
摘要:当网页被加载时,浏览器会创建页面的文档对象模型(Document Object Model)。 ##对象的 HTML DOM 树 DOM 是一项 W3C (World Wide Web Consortium) 标准。 DOM 定义了访问文档的标准: “W3C 文档对象模型(DOM)是中立于平台和语言 阅读全文
posted @ 2022-03-17 18:34 lwx_R 阅读(41) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > //函数回调 function Display(some){ console.log(some); } func 阅读全文
posted @ 2022-03-16 18:21 lwx_R 阅读(218) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > class Car{ constructor(name,year) { this.name=name; this 阅读全文
posted @ 2022-03-14 21:33 lwx_R 阅读(30) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > //参数无需声明 调用时少了参数自动默认undefined function myFunction(x,y){ 阅读全文
posted @ 2022-03-14 21:18 lwx_R 阅读(20) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > var person={ name:"str", age:18, fullName:function(){ re 阅读全文
posted @ 2022-03-10 22:18 lwx_R 阅读(25) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> //向上舍入 console.log(Math.ceil(6.4)); //向下 console.log(Math 阅读全文
posted @ 2022-03-10 21:01 lwx_R 阅读(40) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> var d=new Date(); // 7个数字分别指定年、月、日、小时、分钟、秒和毫秒(按此顺序) // 参数 阅读全文
posted @ 2022-03-10 18:48 lwx_R 阅读(36) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> var arr=[ "str", "pop", "lwx" ]; // 避免使用 var cars=new Arr 阅读全文
posted @ 2022-03-09 19:02 lwx_R 阅读(17) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > var x=12345.6789; x.toString(); //返回字符串值, //它包含已被四舍五入并使用 阅读全文
posted @ 2022-03-07 18:57 lwx_R 阅读(36) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > //转义字符 \' \" \\ var str="string"; //方法 console.log(str.l 阅读全文
posted @ 2022-03-05 18:19 lwx_R 阅读(15) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script > //作用域 { var x=10; } console.log(x);//x可以访问到 { let y=10; 阅读全文
posted @ 2022-03-05 17:59 lwx_R 阅读(43) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p id="p1"> </p> <!-- 事件 onchange HTML 元素已被改变 onclick 用户点击了 HTML 元 阅读全文
posted @ 2022-03-04 22:22 lwx_R 阅读(14) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css_form_tables.css"/> </head> <body 阅读全文
posted @ 2022-03-03 21:23 lwx_R 阅读(25) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Ic 阅读全文
posted @ 2022-03-03 21:07 lwx_R 阅读(72) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css_font.css"/> </head> <body> <div 阅读全文
posted @ 2022-03-03 20:51 lwx_R 阅读(27) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css_font.css"/> </head> <body> <h1>这 阅读全文
posted @ 2022-03-02 22:02 lwx_R 阅读(29) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css_outline.css"/> </head> <body> <! 阅读全文
posted @ 2022-03-02 21:17 lwx_R 阅读(21) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css_margin.css"/> </head> <body> <p 阅读全文
posted @ 2022-03-02 21:10 lwx_R 阅读(45) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css_border.css"/> </head> <body> <di 阅读全文
posted @ 2022-03-02 20:54 lwx_R 阅读(28) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示