已弃用 elements - html 5

This feature is no longer recommended.

2026-10-12

Written by: tdtc

<s>

Frequently used elements

下面的元素使用CSS替代:

文本的滚动

nobr

Instead, use the CSS property white-space like this:

<span style="white-space: nowrap;">Long line with no breaks</span>

The Plain Text element

使用下面的元素替代:

strikethrough

<del>这个是删除线</del>
<s>This a strikethrough (horizontal line) over text.</s>

Object