Constant width
is used for:
Code examples and fragments
Anything that might appear in an XML document, including element names, tags, attribute values, and processing instructions
Anything that might appear in a program, including keywords, operators, method names, class names, and literals
Constant width bold
is used for:
Emphasis in code examples and fragments
Italic is used for:
New terms where they are defined
Emphasis in body text
Pathnames, filenames, and program names
Host and domain names
Significant code fragments, complete programs, and documents are generally placed into a separate paragraph like this:
for $prod as element(*,ProductType)
in doc("catalog.xml")/catalog/*
order by $prod/name
return $prod/name
3.135.182.221