前端学习 HTML标签

一些不常用的标签:
ul 定义无序列表

  • Coffee
  • Tea
  • Milk

ol 有序列表

  1. Coffee
  2. Tea
  3. Milk

dl 定义列表

计算机
用来计算的仪器 … …
显示器
以视觉方式显示信息的装置 … …

strong 把文本定义为语气更强的强调的内容
em 文本定义为强调的内容
blockquote 之间的所有文本都会从常规文本中分离出来,经常会在左、右两边进行缩进(增加外边距),而且有时会使用斜体。也就是说,块引用拥有它们自己的空间

Here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation.

cite 通常表示它所包含的文本对某个参考文献的引用,比如书籍或者杂志的标题
abbr 简称缩写
The PRC was founded in 1949.
acronym HTML5 中不支持 <acronym> 标签。请使用 <abbr> 标签代替,定义首字母缩写
WWW
code 计算机代码文本
fieldset 将表单内的相关元素分组

height: weight:

legend legend 元素为 fieldset 元素定义标题

health information height: weight:

label 为 input 元素定义标注(标记)


caption 定义表格标题。caption 标签必须紧随 table 标签之后。您只能对每个表格定义一个标题。通常这个标题会被居中于表格之上。

Monthly savings
MonthSavings
January$100

thead 表头内容进行分组
tbody 表格主体(正文)。该标签用于组合 HTML 表格的主体内容
tfoot 用于对 HTML 表格中的表注(页脚)内容进行分组

MonthSavings
Sum$180
January$100
February$80

HTML5新元素
header 文档的页眉

Welcome to my homepage

My name is Donald Duck

The rest of my home page…

section 文档中的节(section、区段)


PRC


The People’s Republic of China was born in 1949…


footer 文档或节的页脚

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值