代码示例:(标识:cssref_default_strike)
<!DOCTYPE html>
<html>
<head>
<style>
/* 默认的 CSS 值 */
strike {
  text-decoration: line-through;
}
</style>
</head>
<body>

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

<p><strike>Some no-longer correct text.</strike></p>

<p>自定义的 strike 元素(更改 text-decoration):</p>

<p><strike style="text-decoration:underline;">Some no-longer correct text.</strike></p>

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