2 base Defaults
These are the default base styles applied to HTML elements.
Component classes can override these styles, but if no class applies a style to an HTML element, these styles will be the ones displayed.
styles.scss
, line 17
2.1 base.headings Headings
All HTML headings, <h1>
through <h6>
, are available. %h1
through %h6
classes are also available, for when you want to match the font styling of a
heading but still want your text to be displayed inline.
Heading Level 1 (h1)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 2 (h2)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 3 (h3)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 4 (h4)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 5 (h5)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 6 (h6)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
A Heading Level 1 (h1) with enough text to wrap to another line; A Heading Level 1 (h1) with enough text to wrap to another line
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 2 (h2) with enough text to wrap to another line; Heading Level 2 (h2) with enough text to wrap to another line
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 3 (h3) with enough text to wrap to another line; Heading Level 3 (h3) with enough text to wrap to another line; Heading Level 3 (h3) with enough text to wrap to another line
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 4 (h4) with enough text to wrap to another line; Heading Level 4 (h4) with enough text to wrap to another line; Heading Level 4 (h4) with enough text to wrap to another line
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 5 (h5) with enough text to wrap to another line; Heading Level 5 (h5) with enough text to wrap to another line; Heading Level 5 (h5) with enough text to wrap to another line
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Heading Level 6 (h6) with enough text to wrap to another line; Heading Level 6 (h6) with enough text to wrap to another line; Heading Level 6 (h6) with enough text to wrap to another line; Heading Level 6 (h6) with enough text to wrap to another line
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.
Markup: base/headings/headings-h.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">h1</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 1 (h1)<span class="hljs-tag"></<span class="hljs-name">h1</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h2</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 2 (h2)<span class="hljs-tag"></<span class="hljs-name">h2</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h3</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 3 (h3)<span class="hljs-tag"></<span class="hljs-name">h3</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h4</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 4 (h4)<span class="hljs-tag"></<span class="hljs-name">h4</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h5</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 5 (h5)<span class="hljs-tag"></<span class="hljs-name">h5</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h6</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 6 (h6)<span class="hljs-tag"></<span class="hljs-name">h6</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h1</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>A Heading Level 1 (h1) with enough text to wrap to another line; A Heading Level 1 (h1) with enough text to wrap to another line<span class="hljs-tag"></<span class="hljs-name">h1</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h2</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 2 (h2) with enough text to wrap to another line; Heading Level 2 (h2) with enough text to wrap to another line<span class="hljs-tag"></<span class="hljs-name">h2</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h3</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 3 (h3) with enough text to wrap to another line; Heading Level 3 (h3) with enough text to wrap to another line; Heading Level 3 (h3) with enough text to wrap to another line<span class="hljs-tag"></<span class="hljs-name">h3</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h4</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 4 (h4) with enough text to wrap to another line; Heading Level 4 (h4) with enough text to wrap to another line; Heading Level 4 (h4) with enough text to wrap to another line<span class="hljs-tag"></<span class="hljs-name">h4</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h5</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 5 (h5) with enough text to wrap to another line; Heading Level 5 (h5) with enough text to wrap to another line; Heading Level 5 (h5) with enough text to wrap to another line<span class="hljs-tag"></<span class="hljs-name">h5</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h6</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Heading Level 6 (h6) with enough text to wrap to another line; Heading Level 6 (h6) with enough text to wrap to another line; Heading Level 6 (h6) with enough text to wrap to another line; Heading Level 6 (h6) with enough text to wrap to another line<span class="hljs-tag"></<span class="hljs-name">h6</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
</span>
base/headings/_headings.scss
, line 1
2.2 base.link Links
Hyperlinks are used to allow the user to navigate to other resources or to download a resource.
The order of link states are based on Eric Meyer's article: http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
Markup: base/links/links-a.twig
<span class="xml">This is a <span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"#"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>link to another web page<span class="hljs-tag"></<span class="hljs-name">a</span>></span>.
</span>
base/links/_links.scss
, line 1
base/grouping/_grouping.scss
, line 5
2.3.1 base.grouping.p Body copy
The default font-size
and line-height
properties are applied to the
<body>
element and all paragraphs. In addition, <p>
(paragraphs) receive
a top and bottom margin.
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
Markup: base/grouping/grouping-p.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque
penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id
dolor id nibh ultricies vehicula.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis,
est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec
elit. Donec ullamcorper nulla non metus auctor fringilla.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit
non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi
erat porttitor ligula, eget lacinia odio sem nec elit.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
</span>
base/grouping/_grouping.scss
, line 202
base/grouping/_grouping.scss
, line 60
2.3.2.1 base.grouping.lists.ol Ordered list
The <ol>
element is a list of items in which the order does
explicitly matter.
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Markup: base/grouping/grouping-ol.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">ol</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Lorem ipsum dolor sit amet<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Consectetur adipiscing elit<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Integer molestie lorem at massa<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Facilisis in pretium nisl aliquet<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Nulla volutpat aliquam velit
<span class="hljs-tag"><<span class="hljs-name">ol</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Phasellus iaculis neque<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Purus sodales ultricies<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Vestibulum laoreet porttitor sem<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Ac tristique libero volutpat at<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"></<span class="hljs-name">ol</span>></span>
<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Faucibus porta lacus fringilla vel<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Aenean sit amet erat nunc<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Eget porttitor lorem<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"></<span class="hljs-name">ol</span>></span>
</span>
base/grouping/_grouping.scss
, line 75
2.3.2.2 base.grouping.lists.ul Unordered list
The <ul>
element is a list of items in which the order does not
explicitly matter.
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Markup: base/grouping/grouping-ul.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">ul</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Lorem ipsum dolor sit amet<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Consectetur adipiscing elit<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Integer molestie lorem at massa<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Facilisis in pretium nisl aliquet<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Nulla volutpat aliquam velit
<span class="hljs-tag"><<span class="hljs-name">ul</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Phasellus iaculis neque<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Purus sodales ultricies<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Vestibulum laoreet porttitor sem<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Ac tristique libero volutpat at<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"></<span class="hljs-name">ul</span>></span>
<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Faucibus porta lacus fringilla vel<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Aenean sit amet erat nunc<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Eget porttitor lorem<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"></<span class="hljs-name">ul</span>></span>
</span>
base/grouping/_grouping.scss
, line 66
2.3.2.3 base.grouping.lists.dl Description list
The <dl>
element is a list of terms with their associated descriptions.
- Description lists
- A description list is perfect for defining terms.
- Euismod
- Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
- Donec id elit non mi porta gravida at eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
Markup: base/grouping/grouping-dl.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">dl</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Description lists<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>A description list is perfect for defining terms.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Euismod<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Donec id elit non mi porta gravida at eget metus.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Malesuada porta<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Etiam porta sem malesuada magna mollis euismod.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"></<span class="hljs-name">dl</span>></span>
</span>
base/grouping/_grouping.scss
, line 84
2.3.3 base.grouping.blockquote Block quotes
The <blockquote>
element is for quoting blocks of content from another
source within your document. Wrap the <blockquote>
around any HTML as the quote. For straight
quotes, we recommend a <p>
.
Optionally, add a <footer>
to identify the source of the quote, wrapping
the name of the source work in <cite>
.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Markup: base/grouping/grouping-blockquote.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">blockquote</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere
erat a ante.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"></<span class="hljs-name">blockquote</span>></span>
<span class="hljs-tag"><<span class="hljs-name">blockquote</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere
erat a ante.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">footer</span>></span>J. Smith in <span class="hljs-tag"><<span class="hljs-name">cite</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Source Title, 2nd Edition"</span>></span>Source
Title<span class="hljs-tag"></<span class="hljs-name">cite</span>></span><span class="hljs-tag"></<span class="hljs-name">footer</span>></span>
<span class="hljs-tag"></<span class="hljs-name">blockquote</span>></span>
</span>
base/grouping/_grouping.scss
, line 12
2.3.4 base.grouping.figure Figures
The <figure>
element can be used to annotate illustrations, diagrams,
photos, code listings, etc.
Optionally, a <figcaption>
element inside the <figure>
represents the
caption of the figure.
Markup: base/grouping/grouping-figure.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">figure</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
An illustration, diagram, photo, code listing, etc.
<span class="hljs-tag"></<span class="hljs-name">figure</span>></span>
<span class="hljs-tag"><<span class="hljs-name">figure</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
An illustration, diagram, photo, code listing, etc.
<span class="hljs-tag"><<span class="hljs-name">figcaption</span>></span>Figure 1<span class="hljs-tag"></<span class="hljs-name">figcaption</span>></span>
<span class="hljs-tag"></<span class="hljs-name">figure</span>></span>
</span>
base/grouping/_grouping.scss
, line 148
2.3.5 base.grouping.hr Horizontal rule
The <hr>
element represents a paragraph-level thematic break, e.g. a scene
change in a story, or a transition to another topic within a section of a
reference book.
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla.
Markup: base/grouping/grouping-hr.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span>></span>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque
penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id
dolor id nibh ultricies vehicula.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">hr</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
</span>
base/grouping/_grouping.scss
, line 183
2.3.6 base.grouping.pre Preformatted text
The <pre>
element represents a block of preformatted text, such as
fragments of computer code, ASCII art, etc.
(ノ゜Д゜)ノ ︵ ┻━┻
Markup: base/grouping/grouping-pre.twig
<span class="xml">The following text is preformatted:
<span class="hljs-tag"><<span class="hljs-name">pre</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
(ノ゜Д゜)ノ ︵ ┻━┻
<span class="hljs-tag"></<span class="hljs-name">pre</span>></span>
</span>
base/grouping/_grouping.scss
, line 220
2.4 base.table Tables
The <table>
element displays tabular data in rows, columns, and cells.
# | First Name | Last Name | Username |
---|---|---|---|
1 | Jane | Doe | jdoe |
2 | Jamie | Morgan | jmorgan |
3 | Jacob | Smith | jsmith |
# | First Name | Last Name | Username |
Markup: base/tables/tables-table.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">table</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">caption</span>></span>Optional table caption.<span class="hljs-tag"></<span class="hljs-name">caption</span>></span>
<span class="hljs-tag"><<span class="hljs-name">thead</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>#<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>First Name<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Last Name<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Username<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">thead</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>1<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Jane<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Doe<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>jdoe<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>2<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Jamie<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Morgan<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>jmorgan<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>3<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Jacob<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Smith<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>jsmith<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tfoot</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>#<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>First Name<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Last Name<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Username<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tfoot</span>></span>
<span class="hljs-tag"></<span class="hljs-name">table</span>></span>
</span>
base/tables/_tables.scss
, line 1
2.5 base.text Text-level semantics
The elements in this section give semantics to inline text.
base/text/_text.scss
, line 1
2.5.1 base.text.b Bold
The <strong>
element or the <b>
element is for emphasizing a snippet of
text with a heavier font-weight.
Feel free to use <b>
in HTML5. <b>
is meant to highlight words or phrases
without conveying additional importance.
Markup: base/text/text-b.twig
<span class="xml">The following snippets of text are <span class="hljs-tag"><<span class="hljs-name">strong</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>rendered<span class="hljs-tag"></<span class="hljs-name">strong</span>></span> as <span class="hljs-tag"><<span class="hljs-name">b</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>bold
text<span class="hljs-tag"></<span class="hljs-name">b</span>></span>. Bold text nested inside <span class="hljs-tag"><<span class="hljs-name">i</span>></span>italic text <span class="hljs-tag"><<span class="hljs-name">b</span>></span>should<span class="hljs-tag"></<span class="hljs-name">b</span>></span><span class="hljs-tag"></<span class="hljs-name">i</span>></span> <span class="hljs-tag"><<span class="hljs-name">em</span>></span>still be
<span class="hljs-tag"><<span class="hljs-name">strong</span>></span>bold<span class="hljs-tag"></<span class="hljs-name">strong</span>></span><span class="hljs-tag"></<span class="hljs-name">em</span>></span>.
</span>
base/text/_text.scss
, line 35
2.5.2 base.text.i Italics
The <em>
element or the <i>
element is used for emphasizing a snippet of
text with italics.
Feel free to use <i>
element in HTML5. <i>
is meant to convey voice,
technical terms, etc.
Markup: base/text/text-i.twig
<span class="xml">The following snippets of text are <span class="hljs-tag"><<span class="hljs-name">em</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>rendered<span class="hljs-tag"></<span class="hljs-name">em</span>></span> as <span class="hljs-tag"><<span class="hljs-name">i</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>italic text<span class="hljs-tag"></<span class="hljs-name">i</span>></span>.
Italic text nested inside <span class="hljs-tag"><<span class="hljs-name">b</span>></span>bold text <span class="hljs-tag"><<span class="hljs-name">i</span>></span>should<span class="hljs-tag"></<span class="hljs-name">i</span>></span><span class="hljs-tag"></<span class="hljs-name">b</span>></span> <span class="hljs-tag"><<span class="hljs-name">strong</span>></span>still be
<span class="hljs-tag"><<span class="hljs-name">em</span>></span>italic<span class="hljs-tag"></<span class="hljs-name">em</span>></span><span class="hljs-tag"></<span class="hljs-name">strong</span>></span>.
</span>
base/text/_text.scss
, line 124
2.5.3 base.text.abbr Abbreviation / Acroynym
The <abbr>
element makes the meanings of abbreviations and acronyms visible
on hover.
Markup: base/text/text-abbr.twig
<span class="xml">An abbreviation of the word attribute is <span class="hljs-tag"><<span class="hljs-name">abbr</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"attribute"</span>></span>attr<span class="hljs-tag"></<span class="hljs-name">abbr</span>></span>.
And <span class="hljs-tag"><<span class="hljs-name">acronym</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"HyperText Markup Language"</span>></span>HTML<span class="hljs-tag"></<span class="hljs-name">acronym</span>></span> is an acroynm.
</span>
base/text/_text.scss
, line 9
2.5.4 base.text.cite Cite
The <cite>
element represents a reference to a creative work.
Who is your favorite doctor (in Doctor Who)?
Comment by Oli Walberg
Markup: base/text/text-cite.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span>></span>Who is your favorite doctor (in <span class="hljs-tag"><<span class="hljs-name">cite</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Doctor Who<span class="hljs-tag"></<span class="hljs-name">cite</span>></span>)?<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Comment by <span class="hljs-tag"><<span class="hljs-name">cite</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"#"</span>></span>Oli Walberg<span class="hljs-tag"></<span class="hljs-name">a</span>></span><span class="hljs-tag"></<span class="hljs-name">cite</span>></span><span class="hljs-tag"></<span class="hljs-name">p</span>></span>
</span>
base/text/_text.scss
, line 64
2.5.5 base.text.code Code
The <code>
element represents a fragment of computer code. The <var>
element represents a variable. The <samp>
element represents (sample)
output from a program or computing system. The <kbd>
element represents
user input (typically keyboard input.)
The code
element represents a fragment of computer code.
There are n flavors of ice cream to be available for purchase!
The computer said Too much cheese in tray two but I didn't know what that meant.
To make George eat an apple, select File | Eat Apple…
Markup: base/text/text-code.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span>></span>The <span class="hljs-tag"><<span class="hljs-name">code</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>code<span class="hljs-tag"></<span class="hljs-name">code</span>></span> element represents a fragment of computer code.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>There are <span class="hljs-tag"><<span class="hljs-name">var</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>n<span class="hljs-tag"></<span class="hljs-name">var</span>></span> flavors of ice cream to be available for purchase!<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>The computer said <span class="hljs-tag"><<span class="hljs-name">samp</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>Too much cheese in tray two<span class="hljs-tag"></<span class="hljs-name">samp</span>></span> but I didn't know
what that meant.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>To make George eat an apple, select <span class="hljs-tag"><<span class="hljs-name">kbd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>File | Eat Apple…<span class="hljs-tag"></<span class="hljs-name">kbd</span>></span><span class="hljs-tag"></<span class="hljs-name">p</span>></span>
</span>
base/text/_text.scss
, line 76
2.5.6 base.text.del Deleted text
The <del>
element indicates blocks of text that have been deleted.
Markup: base/text/text-del.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">del</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>This line of text is meant to be treated as deleted text.<span class="hljs-tag"></<span class="hljs-name">del</span>></span>
</span>
base/text/_text.scss
, line 99
2.5.7 base.text.dfn Definition
The <dfn>
element represents the defining instance of a term.
The GDO is a device that allows off-world teams to open the iris.
Teal'c activated his GDO and so Hammond ordered the iris to be opened.
Markup: base/text/text-dfn.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span>></span>The <span class="hljs-tag"><<span class="hljs-name">dfn</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"gdo"</span>></span><span class="hljs-tag"><<span class="hljs-name">abbr</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Garage Door Opener"</span>></span>GDO<span class="hljs-tag"></<span class="hljs-name">abbr</span>></span><span class="hljs-tag"></<span class="hljs-name">dfn</span>></span> is a
device that allows off-world teams to open the iris.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Teal'c activated his <span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"#gdo"</span>></span><span class="hljs-tag"><<span class="hljs-name">abbr</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Garage Door Opener"</span>></span>GDO<span class="hljs-tag"></<span class="hljs-name">abbr</span>></span><span class="hljs-tag"></<span class="hljs-name">a</span>></span>
and so Hammond ordered the iris to be opened.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
</span>
base/text/_text.scss
, line 111
2.5.8 base.text.ins Inserted text
The <ins>
element indicates additions to the document.
Markup: base/text/text-ins.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">ins</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>This line of text is meant to be treated as an addition to the
document.<span class="hljs-tag"></<span class="hljs-name">ins</span>></span>
</span>
base/text/_text.scss
, line 143
2.5.9 base.text.mark Marked text
The <mark>
element highlights a run of text due to its relevance in another
context.
Markup: base/text/text-mark.twig
<span class="xml">You can use the mark tag to <span class="hljs-tag"><<span class="hljs-name">mark</span>></span>highlight<span class="hljs-tag"></<span class="hljs-name">mark</span>></span> text like this.
<span class="hljs-tag"><<span class="hljs-name">mark</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>New!<span class="hljs-tag"></<span class="hljs-name">mark</span>></span>
</span>
base/text/_text.scss
, line 156
2.5.10 base.text.q Quote
The <q>
element represents an inline quote from another source. Longer
quotes should use the <blockquote>
element.
The
q
element represents some phrasing content quoted from another
source.
Markup: base/text/text-q.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">q</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">cite</span>=<span class="hljs-string">"http://www.w3.org/TR/html5/text-level-semantics.html#the-q-element"</span>></span>The
<span class="hljs-tag"><<span class="hljs-name">code</span>></span>q<span class="hljs-tag"></<span class="hljs-name">code</span>></span> element represents some phrasing content quoted from another
source.<span class="hljs-tag"></<span class="hljs-name">q</span>></span>
</span>
base/text/_text.scss
, line 171
2.5.11 base.text.s Strikethrough text
The <s>
element indicates blocks of text that are no longer relevant.
Markup: base/text/text-s.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">s</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>This line of text is meant to be treated as no longer accurate.<span class="hljs-tag"></<span class="hljs-name">s</span>></span>
</span>
base/text/_text.scss
, line 185
2.5.12 base.text.small Small text
For de-emphasizing inline or blocks of text, use the <small>
element to set
text at 80% the size of the parent.
Markup: base/text/text-small.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">small</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>This line of text is meant to be treated as fine print.<span class="hljs-tag"></<span class="hljs-name">small</span>></span>
</span>
base/text/_text.scss
, line 197
2.5.13 base.text.sub Superscript / Subscript
The <sup>
element represents a superscript and the <sub>
element
represents a subscript.
f(x, n) = log4xn
.
Markup: base/text/text-sub.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">abbr</span>></span>M<span class="hljs-tag"><<span class="hljs-name">sup</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>lle<span class="hljs-tag"></<span class="hljs-name">sup</span>></span><span class="hljs-tag"></<span class="hljs-name">abbr</span>></span> Gwendoline wrote the equation <span class="hljs-tag"><<span class="hljs-name">code</span>></span>f(x, n) = log<span class="hljs-tag"><<span class="hljs-name">sub</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>4<span class="hljs-tag"></<span class="hljs-name">sub</span>></span>x<span class="hljs-tag"><<span class="hljs-name">sup</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>n<span class="hljs-tag"></<span class="hljs-name">sup</span>></span><span class="hljs-tag"></<span class="hljs-name">code</span>></span>.
</span>
base/text/_text.scss
, line 211
2.5.14 base.text.u Underlined text
To underline text use the <u>
element. Not recommended since underlines are
used by web browsers to style hyperlinks.
Markup: base/text/text-u.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">u</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>This line of text will render as underlined<span class="hljs-tag"></<span class="hljs-name">u</span>></span>
</span>
base/text/_text.scss
, line 238
base/embedded/_embedded.scss
, line 1
2.6.1 base.embedded.img Image
An <img>
element represents an image.
An image that is inline with other text.
Markup: base/embedded/embedded-img.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span>></span>An image <span class="hljs-tag"><<span class="hljs-name">img</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"kss-assets/sample-inline.png"</span>></span> that is inline with other text.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">figure</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"width: 50%; max-width: 300px;"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">figcaption</span>></span>An image inside a figure.<span class="hljs-tag"></<span class="hljs-name">figcaption</span>></span>
<span class="hljs-tag"><<span class="hljs-name">img</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"kss-assets/sample.png"</span>></span>
<span class="hljs-tag"></<span class="hljs-name">figure</span>></span>
</span>
base/embedded/_embedded.scss
, line 7
2.6.2 base.embedded.svg Scalable vector
A <svg>
element represents an image encoded as a Scalable Vector Graphic.
A svg image that is inline with other text.
Markup: base/embedded/embedded-svg.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span>></span>A svg image <span class="hljs-tag"><<span class="hljs-name">svg</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.w3.org/2000/svg"</span> <span class="hljs-attr">xmlns:xlink</span>=<span class="hljs-string">"http://www.w3.org/1999/xlink"</span> <span class="hljs-attr">version</span>=<span class="hljs-string">"1.1"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"Layer_1"</span> <span class="hljs-attr">x</span>=<span class="hljs-string">"0px"</span> <span class="hljs-attr">y</span>=<span class="hljs-string">"0px"</span> <span class="hljs-attr">width</span>=<span class="hljs-string">"10px"</span> <span class="hljs-attr">height</span>=<span class="hljs-string">"10px"</span> <span class="hljs-attr">viewBox</span>=<span class="hljs-string">"0 0 512 512"</span> <span class="hljs-attr">enable-background</span>=<span class="hljs-string">"new 0 0 512 512"</span> <span class="hljs-attr">xml:space</span>=<span class="hljs-string">"preserve"</span>></span><span class="hljs-tag"><<span class="hljs-name">polygon</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">"#bdad94"</span> <span class="hljs-attr">stroke</span>=<span class="hljs-string">"#bdad94"</span> <span class="hljs-attr">stroke-width</span>=<span class="hljs-string">"37.6152"</span> <span class="hljs-attr">stroke-linecap</span>=<span class="hljs-string">"round"</span> <span class="hljs-attr">stroke-linejoin</span>=<span class="hljs-string">"round"</span> <span class="hljs-attr">stroke-miterlimit</span>=<span class="hljs-string">"10"</span> <span class="hljs-attr">points</span>=<span class="hljs-string">" 259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "</span>/></span><span class="hljs-tag"></<span class="hljs-name">svg</span>></span> that is inline with other text.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">figure</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"width: 50%; max-width: 300px;"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">figcaption</span>></span>A svg inside a figure.<span class="hljs-tag"></<span class="hljs-name">figcaption</span>></span>
<span class="hljs-tag"><<span class="hljs-name">svg</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.w3.org/2000/svg"</span> <span class="hljs-attr">xmlns:xlink</span>=<span class="hljs-string">"http://www.w3.org/1999/xlink"</span> <span class="hljs-attr">version</span>=<span class="hljs-string">"1.1"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"Layer_1"</span> <span class="hljs-attr">x</span>=<span class="hljs-string">"0px"</span> <span class="hljs-attr">y</span>=<span class="hljs-string">"0px"</span> <span class="hljs-attr">width</span>=<span class="hljs-string">"300px"</span> <span class="hljs-attr">height</span>=<span class="hljs-string">"300px"</span> <span class="hljs-attr">viewBox</span>=<span class="hljs-string">"0 0 512 512"</span> <span class="hljs-attr">enable-background</span>=<span class="hljs-string">"new 0 0 512 512"</span> <span class="hljs-attr">xml:space</span>=<span class="hljs-string">"preserve"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">polygon</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">"#bdad94"</span> <span class="hljs-attr">stroke</span>=<span class="hljs-string">"#bdad94"</span> <span class="hljs-attr">stroke-width</span>=<span class="hljs-string">"37.6152"</span> <span class="hljs-attr">stroke-linecap</span>=<span class="hljs-string">"round"</span> <span class="hljs-attr">stroke-linejoin</span>=<span class="hljs-string">"round"</span> <span class="hljs-attr">stroke-miterlimit</span>=<span class="hljs-string">"10"</span> <span class="hljs-attr">points</span>=<span class="hljs-string">" 259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "</span>/></span>
<span class="hljs-tag"></<span class="hljs-name">svg</span>></span>
<span class="hljs-tag"></<span class="hljs-name">figure</span>></span>
</span>
base/embedded/_embedded.scss
, line 35
2.6.3 base.embedded.audio Audio
The HTML5 <audio>
element specifies a standard way to embed audio in a web page.
Markup: base/embedded/embedded-audio.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">audio</span> <span class="hljs-attr">controls</span>=<span class="hljs-string">""</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://simpl.info/audio/audio/audio.ogv"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"audio/ogg"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://simpl.info/audio/audio/audio.mp3"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"audio/mpeg"</span>></span>
Your browser does not support the audio element.
<span class="hljs-tag"></<span class="hljs-name">audio</span>></span>
</span>
base/embedded/_embedded.scss
, line 48
2.6.4 base.embedded.iframe iFrame
The <iframe>
element specifies a standard way to embed content from an external web page.
Markup: base/embedded/embedded-iframe.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">iframe</span> <span class="hljs-attr">width</span>=<span class="hljs-string">"560"</span> <span class="hljs-attr">height</span>=<span class="hljs-string">"315"</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://www.youtube.com/embed/l4f9QF0SGuQ"</span> <span class="hljs-attr">frameborder</span>=<span class="hljs-string">"0"</span> <span class="hljs-attr">allowfullscreen</span>=<span class="hljs-string">""</span>></span><span class="hljs-tag"></<span class="hljs-name">iframe</span>></span>
</span>
base/embedded/_embedded.scss
, line 62
2.6.5 base.embedded.video Video
The HTML5 <video>
element specifies a standard way to embed video in a web page.
Markup: base/embedded/embedded-video.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">video</span> <span class="hljs-attr">width</span>=<span class="hljs-string">"320"</span> <span class="hljs-attr">height</span>=<span class="hljs-string">"240"</span> <span class="hljs-attr">controls</span>=<span class="hljs-string">""</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://www.html5rocks.com/en/tutorials/video/basics/devstories.webm"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"video/webm;codecs=&quot;vp8, vorbis&quot;"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://www.html5rocks.com/en/tutorials/video/basics/devstories.mp4"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"video/mp4;codecs=&quot;avc1.42E01E, mp4a.40.2&quot;"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">track</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://www.html5rocks.com/en/tutorials/video/basics/devstories-en.vtt"</span> <span class="hljs-attr">label</span>=<span class="hljs-string">"English subtitles"</span> <span class="hljs-attr">kind</span>=<span class="hljs-string">"subtitles"</span> <span class="hljs-attr">srclang</span>=<span class="hljs-string">"en"</span> <span class="hljs-attr">default</span>=<span class="hljs-string">""</span>></span>
Your browser does not support the video tag.
<span class="hljs-tag"></<span class="hljs-name">video</span>></span></span>
base/embedded/_embedded.scss
, line 76