摘要: Title <script src="js/a.js"></script> 阅读全文
posted @ 2020-07-10 20:23 神树一世 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 注册页面 新用户注册 USER REGISTER </div> <div class="rg_center"> <div class="rg_form"> <!--定义表单 form--> <form action="#" method="post"> <table> <tr> <td class= 阅读全文
posted @ 2020-07-09 23:44 神树一世 阅读(123) 评论(0) 推荐(0) 编辑
摘要: css属性 <style> div{ border: 1px solid red; width: 100px; } .div1{ width: 100px; height: 100px; /*外边距*/ /* margin: 50px; */ } .div2{ width: 200px; heigh 阅读全文
posted @ 2020-07-09 23:32 神树一世 阅读(87) 评论(0) 推荐(0) 编辑
摘要: css属性 <style> p{ color: #FF0000; font-size: 30px; text-align: center; line-height: 200px; /* border 边框 */ border: 1px solid red; } div{ border: 1px so 阅读全文
posted @ 2020-07-09 23:31 神树一世 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 扩展选择器 <style> div p{ color:red; } div > p { border: 1px solid; } input[type='text']{ border: 5px solid; } a:link{ color: pink; } a:hover{ color: green 阅读全文
posted @ 2020-07-09 23:26 神树一世 阅读(71) 评论(0) 推荐(0) 编辑
摘要: css语法: * 格式: 选择器 { 属性名1:属性值1; 属性名2:属性值2; ... } * 选择器:筛选具有相似特征的元素 * 注意: * 每一对属性需要使用;隔开,最后一对属性可以不加; 选择器:筛选具有相似特征的元素 分类: 基础选择器 id选择器:选择具体的id属性值的元素.建议在一个h 阅读全文
posted @ 2020-07-09 23:21 神树一世 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 基础选择器 <style> .cls1{ color: blue; } div{ color:green; } #div1{ color: red; } </style> 基础选择器 id选择器:选择具体的id属性值的元素.建议在一个html页面中id值唯一 语法:#id属性值 元素选择器:选择具有 阅读全文
posted @ 2020-07-09 23:12 神树一世 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Title hello css Title div{ color:blue; } </style> hello css hello css Title --> <style> @import "css/a.css"; </style> hello css hello css 呵呵 CSS的使用:CS 阅读全文
posted @ 2020-07-09 22:58 神树一世 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 注册页面 <!--定义表单 form--> <form action="#" method="post"> <table border="1" align="center" width="500"> <tr> <td><label for="username">用户名</label></td> <t 阅读全文
posted @ 2020-07-09 10:53 神树一世 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 表单标签 <!-- form:用于定义表单的。可以定义一个范围,范围代表采集用户数据的范围 * 属性: * action:指定提交数据的URL * method:指定提交方式 * 分类:一共7种,2种比较常用 get: 1. 请求参数会在地址栏中显示。会封装到请求行中(HTTP协议后讲解)。 2. 阅读全文
posted @ 2020-07-09 10:26 神树一世 阅读(106) 评论(0) 推荐(0) 编辑