- 链接地址:https://muzizongheng.blog.csdn.net/article/details/85164698
- 链接标题:html中class和id的区别_html id和class区别-CSDN博客
- 所属网站:muzizongheng.blog.csdn.net
- 被收藏次数:1219
class用来声明类别, 主要是指向css表中的类,可以给html元素赋予多个class, 例如:<html><head><style type="text/css">h1.intro{color:blue;text-align:center;}.important {background-color:yellow;}&l..._html id和class区别
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除