Code
Inline
Wrap inline snippets of code using the <code>
tag.
Preview
Use the .container
class for containing the elements of our design.
Blocks
Large blocks of code should be contained within the <pre>
tag.
Preview
.container { margin: 0 auto; width: 1080px; }
User Input
You also may wish to use the <kbd>
tag to indicate content that was entered via the keyboard.
Preview
Use the ls command to list the contents of a directory on a UNIX machine.