Title can be used to create headings for a page or page sections.
Default title without any configuration. The title is then taken from the current page, taking the Page Title if it has been set, and taking the main page Title otherwise. The default heading level is H1, which can be configured at page template level.
The title text can be provided rather than the default of taking the title from the current page.
- jcr:title: Lorem Ipsum
- sling:resourceType: core-components-examples/components/title
Lorem Ipsum
The heading size can be configured (H1-H6).
- jcr:title: Heading 3
- type: h3
- sling:resourceType: core-components-examples/components/title
Heading 3
Titles can be linked to internal relative AEM resources, external absolute URLs or page anchors.
When linked, there's the additional possibility to provide a Title Attribute and/or a Accessibility Label to the link.