HTML5的标签与HTML4的标签的区别

本文全面介绍了HTML5中使用的145个标签,包括从HTML4继承的111个标签及新增的34个标签,并列举了被HTML5废弃的14个标签。

HTML5共111个标签

以下为HTML5基于HTML4保留的标签

a

abbr
address
area
b
base
bdo
blockquote
body
br
button
caption
cite
code
col
colgroup
dd
del
dfn
div
dl
dt
em
fieldset
form
h1
h2
h3
h4
h5
h6
head
hr
html
i
iframe
img
input
ins
kbd
label
legend
li
link
map
meta
noscript
object
ol
optgroup
option
p
param
pre
q
s
samp
script
select
small
span
strong
style
sub
sup
table
tbody
td
textarea
tfoot
th
thead
title
tr
u
ul

var

以下为新增的标签共34个

article
aside
audio
bdi
canvas
data
datalist
details
dialog
embed
figcaption
figure
footer
header
main
mark
meter
nav
output
picture
progress
rb
rp
rt
rtc
ruby
section
summary
source
template
time
track
video
wbr

以下为HTML5抛弃的标签,共14个

ACRONYM
APPLET
BASEFONT
BIG
CENTER
DIR
FRAME
FRAMESET
FONT
ISINDEX
MENU
NOFRAMES
STRIKE
TT

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值