To introduce an example in a sentence, use the guidance in the following table:
Guidance | Recommended | Not recommended |
---|---|---|
At the end of a sentence, use a comma or an em dash. |
Enter a name for the instance, such as Enter a name for the instance—for example, |
Enter a name for the instance, for example, Enter a name for the instance; for example, Enter a name for the instance (for example, |
In the middle of a sentence, use parentheses if the example is short. Otherwise, rewrite the sentence. |
Enter a six-digit hex number (for example, Enter a six-digit hex number, such as Enter a six-digit hex number, and then click OK. For example, if you want the color forest
green, enter |
Enter a six-digit hex number (for example, if you want the color forest green, enter
228B22 ), and then click OK. |
For more information, see Parentheses.