Italics are used for:
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
XML element and attribute names
Maven goals such as
java:compile
Constant width italics
are used
for:
General placeholders that indicate that an item is replaced by some actual value in your own program
Constant width bold
is used
for:
Text that is typed on the command line
Emphasis in source code
To indicate a continued command line, we used the convention appropriate to the operating system: \ for Unix, and ^ for a Windows DOS shell.
Get Maven: A Developer's Notebook 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.