在html 5中,“hgroup”元素用于组合标题元素。“”标签元素用于对网页或区段(section)的标题进行组合。当标题有多个层级(副标题)时,hgroup元素可用来对一系列“-”元素进行分组。

本教程操作环境:windows7系统、HTML5版、Dell G3电脑。
在html 5中,“hgroup”元素用于组合标题元素。
示例:
html> <meta><hgroup> <h1>欢迎来到php中文网!</h1> <h2>免费php在线学习平台</h2> </hgroup><p>php中文网提供大量免费、原创、高清的php视频教程。。。。。</p><div class="aritcle_card flexRow artxards"> <div class="artcardd flexRow"> <a class="aritcle_card_img" rel="nofollow" href="/xiazai/js/6854" title="图片悬停标题旋转动画效果"><img src="https://img.php.cn/upload/jscode/000/287/557/634cb13316c53655.png" alt="图片悬停标题旋转动画效果" onerror="this.onerror='';this.src='/static/lhimages/moren/morentu.png'" ></a> <div class="aritcle_card_info flexColumn"> <a rel="nofollow" href="/xiazai/js/6854" title="图片悬停标题旋转动画效果" class="overflowclass">图片悬停标题旋转动画效果</a> <p class="overflowclass">一款图片悬停标题旋转动画效果</p> </div> <a rel="nofollow" href="/xiazai/js/6854" title="图片悬停标题旋转动画效果" class="aritcle_card_btn flexRow flexcenter"><b></b><span>下载</span> </a> </div> </div>
说明:
标签被用来对标题元素进行分组。
当标题有多个层级(副标题)时, 元素被用来对一系列 -
元素进行分组。
推荐教程:《html视频教程》
前端入门到VUE实战笔记:立即使用
在学习笔记中,你将探索 前端 的入门与实战技巧!










