Slashes

Slashes with dates

Don't use date formats that rely on slashes.

For information about how to write dates, see Dates and Times.

Slashes with alternatives

Don't use slashes to separate alternatives.

Examples

Not recommended: For example, a disaster relief map is not subject to the usage limits even if it has been developed/hosted by a commercial entity.

Recommended: For example, a disaster relief map is not subject to the usage limits even if it has been developed and is hosted by a commercial entity.

Recommended: For example, a disaster relief map is not subject to the usage limits even if it has been developed or is hosted by a commercial entity.

Not recommended: Call this method 5/6 times.

Recommended: Call this method five or six times.

Slashes with file paths and URLs

Use forward slashes, as appropriate, in computer file paths and URLs.

Example

Recommended: https://developers.google.com/cardboard/

Where very long URLs extend beyond a line, add a line break immediately after a slash. Don't ever insert an extraneous hyphen into a URL to break it between two lines.

Example

Recommended: https://developers.google.com/
cardboard/

Slashes with fractions

Don't use slashes with fractions, as they can be ambiguous.

Examples

In the following example, 3/4 could be interpreted either as three-quarters or as stating that 4 is an alternative to 3.

Not recommended: 3/4

Recommended: ¾

Recommended: 0.75

Recommended: 75%

Slashes with abbreviations

Don't use abbreviations that rely on slashes. Instead, spell the words out.

Examples

Not recommended: c/o, w/

Recommended: care of, with

Enviar comentarios sobre…

Google Developer Documentation Style Guide
Google Developer Documentation Style Guide