随笔分类 -  前端

摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>js1-1</title> <script> // 尽量避免浮点数运算 // console.log((1/3) == (1-2/3)) var arr = [1,2,3,'hel 阅读全文
posted @ 2023-03-28 10:13 小小的羊 阅读(22) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>js1-1</title> <!-- 内部引入 --> <!-- 用script写javascript代码 --> <script> alert("hello,word"); </ 阅读全文
posted @ 2023-03-23 10:10 小小的羊 阅读(26) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <style> .w{height: 100px;border: 1px solid lightgreen;margin: 5px;} .y{height 阅读全文
posted @ 2023-03-18 11:08 小小的羊 阅读(37) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <style> div{border: 1px red solid;} img{width: 400px;height: 300px;} #centent 阅读全文
posted @ 2023-03-16 10:06 小小的羊 阅读(25) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> a{font-famil 阅读全文
posted @ 2023-03-16 09:27 小小的羊 阅读(29) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> a{font-famil 阅读全文
posted @ 2023-03-13 14:40 小小的羊 阅读(24) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>4-1-1</title> <style> .p{font-family: 华文行楷;font-size: 1.5em;} ul li{list-style: none;} #nav 阅读全文
posted @ 2023-03-12 09:46 小小的羊 阅读(22) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> /* 默认颜色 */ a 阅读全文
posted @ 2023-03-11 18:26 小小的羊 阅读(25) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> /* p{font-fa 阅读全文
posted @ 2023-03-11 17:58 小小的羊 阅读(36) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> a[class*=x]{ 阅读全文
posted @ 2023-03-11 16:59 小小的羊 阅读(21) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> /* ul:first- 阅读全文
posted @ 2023-03-11 16:28 小小的羊 阅读(25) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> /* 后代选择器 bod 阅读全文
posted @ 2023-03-11 11:48 小小的羊 阅读(18) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <link rel="stylesheet" href="study.css" type="text/css"> <style> /* 标签选择器 */ 阅读全文
posted @ 2023-03-11 11:03 小小的羊 阅读(26) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <!-- 3.外部样式表 --> <link rel="stylesheet" href="study.css" type="text/css"> <st 阅读全文
posted @ 2023-03-11 10:23 小小的羊 阅读(35) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <!-- div 块 --> <!-- 选择器{声明;} --> <!-- 外部引用 <link rel="stylesheet" href="(地址)" 阅读全文
posted @ 2023-03-11 10:09 小小的羊 阅读(34) 评论(0) 推荐(0)
摘要:<!-- hidden 隐藏域 readonly 只读 disabled 禁用 --> <!-- placeholder="" 提示信息 required 非空判断 pattern 正则表达式 --> 阅读全文
posted @ 2023-03-09 10:27 小小的羊 阅读(22) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <style> </style> </head> <body> <!-- cols="50" rows="10" 文本域 --> <p>反馈: <text 阅读全文
posted @ 2023-03-09 10:17 小小的羊 阅读(78) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <style> </style> </head> <body> <h1>注册</h1> <form action="4-2-2.html" method= 阅读全文
posted @ 2023-03-09 09:31 小小的羊 阅读(21) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <style> </style> </head> <body> <!-- action 提交的位置 method :get/post 提交的方式 get: 阅读全文
posted @ 2023-03-09 09:01 小小的羊 阅读(21) 评论(0) 推荐(0)
摘要:<doctype html> <html> <head> <meta charset="utf-8"> <title>study</title> <style> </style> </head> <body> <!-- src 资源路径 controls 控制条 autoplay 自动播放 视频元素 阅读全文
posted @ 2023-03-08 17:35 小小的羊 阅读(61) 评论(0) 推荐(0)