4.5.5 The s element
4.5.5 The s element
Категории:
потоковое содержимое.
Фразовое содержимое.
Palpable content.
Контексты, в которых может использоваться этот элемент:
Где ожидается Фразовое содержимое.
Контентная модель:
Фразовое содержимое.
Опущение тегов в text/html:
Ни один из тегов не может быть опущен.
Атрибуты контента:
глобальные атрибуты
Специфика доступности:
Для авторов.
Для разработчиков.
Санитизация:
Default.
DOM-интерфейс:
Uses HTMLElement.
The s element represents contents that are no longer accurate or no longer relevant.
The s element is not appropriate when indicating document edits; to mark a span of text as having been removed from a document, use the del element.
In this example a recommended retail price has been marked as no longer relevant as the product in question has a new sale price.
<p>Buy our Iced Tea and Lemonade!</p>
<p><s>Recommended retail price: $3.99 per bottle</s></p>
<p><strong>Now selling for just $2.99 a bottle!</strong></p>