Edit in GitHubLog an issue

h2

Since: UXP 2, PS 22.0.0

A heading element, representing the second level in the document hierarchy.

See: https://developer.mozilla.org/en/docs/Web/HTML/Element/h2

Example

Copied to your clipboard
<h2>Hello, world!</h2>

Spectrum UXP Correlate#

When using Spectrum UXP, you can get a similar rendering using sp-heading.

Copied to your clipboard
<sp-heading>Hello, World</sp-heading>
Copyright © 2021 Adobe. All rights reserved.