Editorial Style Guide

Please follow these style guidelines for PF documents. Use the following resources in order of priority:

  1. W3C Manual of Style
  2. Chicago Manual of Style
  3. This style guide

Document style

Preferred terminology

Specification rules

CSS classes used for visual styling

ednote

Editorial notes are marked with "ednote". Editorial notes differ from todos in that they are notes to the public, usually about an unfinished piece, and are not removed from the draft when going to TR. However, the document should be clear of editorial notes from the Last Call stage onward. This is typically used on a <p> element, or on a <div> if it encompasses multiple block elements.

note

A general note for clarification is marked with this. This is part of ordinary document structure. This is typically used on a <p> element, or on a <div> if it encompasses multiple block elements.

example

A code example should be marked with this. This typically goes on a <pre> or <div> element.

termref

Links to definitions of terms use this class, for visual styling.

img

This is used for visual styling of an image. The class can be used on an <img> element directly, or on a <div> wrapped around the image. If used on a <div>, a <p> inside the <div> in addition to the <img> should be used for a caption.

role-screenshot

Screenshots of widgets exemplifying a particular role use this class for visual styling