<!--  -->:注释
h1:1级标题
h2:2级标题
h3:3级标题
h4:4级标题
h5:5级标题
h6:6级标题
p:段落
hr:水平分割线
br:换行符
b/strong:bold 加粗
i/em:incline 斜体
u/ins:underline 下划线
s/del:strikethrough 删除线
alt="替换文本"
title="提示文本"
width="宽度" height="高度"(只用给一个,另一个等比缩放)
示例图片:
controls:音频控件
autoplay:自动播放(少部分浏览器支持,chrome不支持)
loop:循环播放
示例音频:
controls:视频控件
autoplay:自动播放(chrome必须配合muted静音播放)
muted:静音播放
loop:循环播放
由于在GitHub Pages上有不支持直接在仓库中播放大于100MB的视频文件的限制,我们使用Youtube平台对我们的视频进行托管,再用iframe嵌入视频。
iframe:嵌入
frameborder="0":不显示嵌入框架的边框
allowfullscreen:允许全屏
示例视频:
href="跳转地址(Hypertext Reference)"
跳转地址可以为网址、路径或者为#(空链接,即指向当前页面的链接)
target="目标网页打开方式"
target="_self":当前窗口跳转(默认)
target="_blank":新窗口跳转
示例链接:
空链接
https://tangqianqiya.github.io/
table:表格
border:table标签的属性
th:table header标题
td:table data元素
| th1 | th2 | th3 | th4 |
|---|---|---|---|
| td11 | td12 | td13 | td14 |
| td21 | td22 | td23 | td24 |
| td31 | td32 | td33 | td34 |
| td41 | td42 | td43 | td44 |
Developing...