tag
prop only controls semantics, no visual styles are being defined.<span>
for inline text. Inline text can be nested inside another type element.<p>
, <h1>
, <h2>
, <h3>
, <h4>
, <h5>
, <h6>
, or <div>
for block text.<div>
.{% include '@bolt-elements-type/type.twig' with {
content: 'This type element is a level 4 heading. No styles are defined so this looks like plain text.'
tag: 'h4',
} only %}
<h4 class="e-bolt-type">This type element is a level 4 heading. No styles are defined so this looks like plain text.</h4>