在h1之后是否需要使用H2 [英] Is it necessary to use H2 after h1

查看:104
本文介绍了在h1之后是否需要使用H2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果文字太小,在h1之后使用H2是强制性的,那么我们可以在h1之后使用h4。并且它是可访问的?

Is it mandatory to use H2 after h1 if text is too small then can we use h4 after h1 . and is it accessible ?

推荐答案

技术上,您可以使用这些组合。

Technically you can use any combination of those.

从语义上讲,使用公共秩序是明智的。如果字体太小,使用CSS来改变它。

Semantically, it's wise to use the common order. And if the font size is too small, use CSS to change that.

使用标签 h1 - h6 你给一个标题赋予语义含义。其中 h1 用于顶层, h2 用于细分 h1 h3 用于细分 h2 等。

With the tags h1-h6 you give a semantic meaning to a title. Where h1 is for the top level, h2 for a subdivision of h1, h3 for a subdivision of h2 etc.

您可以通过设置CSS规则来改变外观,这非常棒,因为现在您可以将内容与布局分开。

You can change the appearance by setting CSS rules, which is great because now you can separate content from layout.

这篇关于在h1之后是否需要使用H2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆