We start with a paragraph of text that features various HTML tags, used in
flow content. Account for emphasis, strong and
small text. Don’t forget to account for abbreviations too,
using the abbr (<abbr>)
element. Lastly you can define deleted text
inserted text.
If you are referencing keyboard keys, make sure you use the
<kbd> element like this: shift. Like we have
already in these paragraphs, if you are referencing code, use the
<code> element. Don’t forget the
<samp> element either. An example for that element is this:
Press F1 to continue.
Use the <var> element to reference a variable like this:
The volume of a box is l × w × h, where
l represents the length, w the width and
h the height of the box.
If you want an inline quote, use the <q> element
quoted text
. Lastly don’t forget the subscript
(<sub>) (H2O) and superscript
(<sup>) (E = MC2), and of course,
link elements.
Sed posuere consectetur est at lobortis. Nullam id dolor id nibh ultricies vehicula ut id elit. Cras mattis consectetur purus sit amet fermentum.
Words can be like X-rays, if you use them properly—they’ll go through anything. You read and you’re pierced.
Make sure you only use a cite if the quote source can be linked to.
Just a quick paragraph to follow the horizontal rule. A bit of Lipsum? Sure thing: Nulla vitae elit libero, a pharetra augue. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
Previously hidden content until the details element is in its
open state.
Previously hidden content until the details element is in its
open state.
| Person | Number | Third Column |
|---|---|---|
| Someone Lastname | 900 | Nullam quis risus eget urna mollis ornare vel eu leo. |
| Person Name | 1200 | Vestibulum id ligula porta felis euismod semper. Donec ullamcorper nulla non metus auctor fringilla. |
| Another Person | 1500 | Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Nullam id dolor id nibh ultricies vehicula ut id elit. |
| Last One | 2800 | Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum. |
Sometimes, a table has column headers
| Person | Number | Third Column | |
|---|---|---|---|
| This column’s heading | Someone Lastname | 900 | Nullam quis risus eget urna mollis ornare vel eu leo. |
| Another column heading | Person Name | 1200 | Vestibulum id ligula porta felis euismod semper. Donec ullamcorper nulla non metus auctor fringilla. |
| Code in tables should have more paired back styles | Another Person |
1500
|
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Nullam id dolor id nibh ultricies vehicula ut id elit. |
| Last column header | Last One | 2800 | Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum. |
Just a quick paragraph to introduce heading level 3 too.
Lists in various forms.
{`.context-alert {
position: absolute;
inset: auto 0 calc(100% + 0.5em) 0;
padding: 0.25em;
background: var(--color-primary);
color: var(--color-light);
font-weight: var(--font-bold);
text-align: center;
transition: opacity var(--transition-fade) 200ms,
transform var(--transition-bounce-fast) 200ms;
}`}
Where are buttons? Good question. Not here because we don’t tend to style up
default buttons and instead opt to treat them as components with a
.button class.
Just kidding! Here are some buttons:
Under no circumstances should you have an image without an
alt attribute. At a minimum, it should be an empty value like
this one. That should only be used for purely decorative images though.
We tend to only specifically style up headings up to level 4 in terms of leading and balance because if you’re getting into 5 and 6, you probably want to be simplifying your content. We’ll add them here though to double check they look OK.