Here are the various style tags I just discussed. This page is intended to show you how each tag is rendered in your browser, and how whitespace is handled.
- Code
This text is contained in the CODE container, which is used to define fragments of code.
The source HTML has a line break between this sentence and the previous one, but not a line-break tag. Similarly, there are five spaces before this sentence.
- Keyboard
- This text is contained in the KBD container, which is used to define examples of user input.
The source HTML has a line break between this sentence and the previous one, but not a line-break tag. Similarly, there are five spaces before this sentence.
- Sample
- This text is contained in the SAMP container, which is used to define a literal character sequence.
The source HTML has a line break between this sentence and the previous one, but not a line-break tag. Similarly, there are five spaces before this sentence.
- Variable
- The following is contained in a variable container: getID. It may look like another style, such as italics, but it is assuredly using the VAR tag.