Which HTML title tag (h1, h2, h3...) is supposed to be used in a JQuery UI dialog?
I know I can put anything and set the layout I want using CSS, but I would like to know if a title level is more appropriate than another one.
Which HTML title tag (h1, h2, h3...) is supposed to be used in a JQuery UI dialog?
I know I can put anything and set the layout I want using CSS, but I would like to know if a title level is more appropriate than another one.
Copyright © 2021 Jogjafile Inc.
I would go for an
<h3>
, or at least and<h2>
<h1>
is known to conceptually represent the main title of a page and is the top-level heading element anyway.Some extra reading:
Proper Use Of H1, H2, H3, H4, H5, H6 header elements
The Beauty of Semantic Markup, Part 3: Headings