Header Tags (H1-H6)

10-15 minBeginner

Portable Text.

Easy Recommended

Portable Text

Block Editor.

1

Format

1

Sanity uses 'Portable Text' (JSON).

2

Select text style dropdown: H1, H2, H3.

3

Developers must define which headers are allowed in the schema (styles: [{title: 'H2', value: 'h2'}]).

Verification Checklist

  • Frontend Render