代码示例:(标识:cssref_default_sup)
<!DOCTYPE html>
<html>
<head>
<style>
/* 默认的 CSS 值 */
sup {
  vertical-align: super;
  font-size: smaller;
}
</style>
</head>
<body>

<p>默认情况下,sup 元素会这样显示:</p>

<p>This text contains <sup>superscript text</sup></p>

<p>自定义的 sup 元素(更改 font-size):</p>

<p>This text contains <sup style="font-size:25px;">superscript text</sup></p>

</body>
</html>
运行结果: