HTML
不动声色的小蜗牛
The eager young minds of tomorrow.
展开
-
模仿京东登录页面(HTML、CSS、JavaScript / jQuery)
效果:Index.html:<!DOCTYPE html><html> <!-- 作者:zzy 时间:2020-07-28 描述:模仿京东登陆页面(自己练习,非商用) --> <head> <meta charset="utf-8" /> <title>京东-欢迎登录</title> <!--<link rel="icon" href="/原创 2020-07-28 18:36:15 · 6382 阅读 · 3 评论 -
form表单
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>form表单</title> </head> <body> <!-- action:指定表单数据目的地 method:设置使用哪个方法处理请求 ; 可选值: get:doget; post:dopost 地址栏显示数据.原创 2020-07-13 11:28:21 · 189 阅读 · 0 评论 -
表格(table、tr、th、td、colspan、rowspan)
表格一:<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title></title> <style> table{ width: 720px;/*设置表格水平宽度为720px*/ margin: 0 auto;/*使表格水平居中*/ border: 1px solid black;/*设置边框*/ border-spacing:原创 2020-07-13 10:20:04 · 1732 阅读 · 0 评论 -
行内标签(最常用的:a标签、img标签、span标签)
a 标签:功能:从一个页面跳转到其他页面,或者是当前页面的其他位置。属性:href :指定跳转的目标路径。值可以是一个外部网站的地址;也可以是一个内部网页的地址target:_self 默认值,在当前页面打开超链接;_blank 在一个新的页面中打开超链接 点我一下,跳转到百度页面哦特点:超链接是一个行内元素,在a标签中可以嵌套任何元素(除它本身)在开发中可以将‘#’作为超链接的路径的占位符使用;可以使用‘javascript:;’来作为href的属性值,此时原创 2020-07-10 17:57:18 · 4798 阅读 · 0 评论