会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
icecream
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
39
下一页
2021年2月21日
css基本语法及css样式表
摘要: css基本语法: css的语法主要由两个部分构成: 选择器 选择器对应的一个或多个样式声明 选择器就是指定将要被设置样式的html元素,声明部分需要用大括号包裹起来,每个样式声明包含一个css样式属性以及该属性对应的值,两者以冒号分割;不同样式声明之间使用分号来进行隔开。 在网页中插入css样式表:
阅读全文
posted @ 2021-02-21 11:11 ice--cream
阅读(562)
评论(0)
推荐(0)
2021年2月20日
iframe、meter、progress
摘要: 嵌入另一个网页:iframe元素 <!DOCTYPE> <html> <head> <meta charset="utf-8"> </head> <body> <p>你在等什么???????????</p> <iframe src="https://www.baidu.com" width="108
阅读全文
posted @ 2021-02-20 18:42 ice--cream
阅读(72)
评论(0)
推荐(0)
html5中嵌入音频和字幕
摘要: 在网页中嵌入音频: 用audio元素 <!DOCTYPE> <html> <head> <meta charset="utf-8"> </head> <body> <audio src="img/e.mp3" controls> 非常抱歉 </audio> </body> </html> track
阅读全文
posted @ 2021-02-20 10:03 ice--cream
阅读(775)
评论(0)
推荐(0)
2021年2月18日
在html5中嵌入视频
摘要: 在网页中嵌入视频: 用video 播放控件: 加入controls属性 自动播放: 加入autoplay属性,chrome浏览器并不会自动播放,但静音后可以自动播放 静音播放: 加入muted属性 <!DOCTYPE> <html> <head> <meta charset="utf-8"> </h
阅读全文
posted @ 2021-02-18 18:12 ice--cream
阅读(437)
评论(0)
推荐(0)
map、area、picture、source、figure、figcaption元素
摘要: map和area元素 首先用img加载一张图片,再img里用usemap和map相关联,然后map里指定是什么形状,然后跳转到什么网址,下面具体说下shape: 圆形:shape=circle,圆形的话提供圆心坐标和半径, 多边形:shape=poly,然后按顺时针方向提供坐标 矩形:shape=r
阅读全文
posted @ 2021-02-18 15:22 ice--cream
阅读(224)
评论(0)
推荐(0)
2021年2月14日
html5中的新语义元素
摘要: html5提供的新语义元素 header:定义简介形式的内容 nav:定义页面主导航功能 main:定义主内容,主内容中可以有各种子内容区段。 article:定义独立的文章内容,与页面其他部分无关 section:定义文档中的节,与article类似,但section更适用于组织页面使其按功能分块
阅读全文
posted @ 2021-02-14 11:11 ice--cream
阅读(77)
评论(0)
推荐(0)
2021年2月5日
output和textarea
摘要: 输出计算结果:output <!DOCTYPE> <html> <head> <meta charset="utf-8"> </head> <body> <form oninput="x.value=parseInt(a.value)+parseInt(b.value)" method="post"
阅读全文
posted @ 2021-02-05 17:26 ice--cream
阅读(97)
评论(0)
推荐(0)
2021年2月4日
input元素的各种type属性
摘要: submit、button、reset: <!DOCTYPE> <html> <head> <meta charset="utf-8"> </head> <body> <form> 名字: <input type="text" ><br><br> 邮箱: <input type="text" ><b
阅读全文
posted @ 2021-02-04 18:48 ice--cream
阅读(705)
评论(0)
推荐(0)
2021年1月28日
表单
摘要: 表单 form的action属性指定由谁来处理用户提交的表单 form的method属性指定使用哪种http方法将表单发送给服务器,有get和post两种,这两种最明显的区别就是get方法会将提交的数据整合到url里,而post不会这样,post的提交会随http消息的主体发送到服务器。 input
阅读全文
posted @ 2021-01-28 09:57 ice--cream
阅读(113)
评论(0)
推荐(0)
表格
摘要: 表格 最基本的表格: 有4个元素,table,tr,td table:定义表格 tr : table row,定义表格里面的行 th : table header cell ,定义表头单元格 td : table data cell,定义数据单元格 默认情况下,浏览器会对表头单元格(th)里面的内容
阅读全文
posted @ 2021-01-28 09:55 ice--cream
阅读(200)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
39
下一页
公告