Italic is used for:
Pathnames, filenames, directories, and program names
New terms where they are defined
Internet addresses, such as domain names and URLs
Boldface is used for:
Particular keys on a computer keyboard
Names of user interface buttons and menus
Constant Width
is used for:
Anything that appears literally in a JSP page or a Java program, including keywords, datatypes, constants, method names, variables, class names, and interface names
Command lines and options that should be typed verbatim on the screen
All JSP and Java code listings
HTML documents, tags, and attributes
Constant Width Italic
is used for:
General placeholders that indicate that an item should be replaced by some actual value in your own program
Constant width bold
is used for:
Text that is typed in code examples by the user
Get Java Server Pages now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.