Tuesday, September 14, 2010

Logical styles for programming-oriented content

Several logical styles do similar jobs, are programming-oriented, and are usually displayed
in a monospace font:
<code>Denotes a code sample.</code>
<kbd>Indicates text entered by the user.</kbd>
<samp>Indicates a programming sample.</samp>
The var element also relates to programming, signifying a variable. However, it is usually
displayed in italics.

No comments:

Post a Comment