constant width font is used for:
Class names and method names.
Example command-line sessions. The input you type is shown in boldface.
Italic is used for:
Paths and filenames.
New terms where they are defined.
Internet addresses, such as domain names and URLs.
Boldface is used for the names of interface buttons.