frac frac specifies a fraction, which is usually set off from surrounding text, perhaps through a font size difference. frac is a specialization of ph. Inheritance + topic/ph d4p-formatting-d/frac Figure 9. Sample of an instance of the frac element <p>The recipe calls for <frac>3/4</frac> cup of almonds.</p>