s

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

Definición

Muestra el texto tachado con una linea horizontal.

Sus etiquetas son: <s> y </s> (Ambas obligatorias)

Crea una caja: en linea.

Está definido como:Elemento de estilo de fuente.

Puede contener: cero o más elementos en linea

Atributos

Atributo valor descripción
Genéricos
title texto implícito título consultivo del elemento.
style reglas de estilo implícito información de estilo en línea.
id ID implícito identificador único a nivel de documento.
class CDATA implícito identificador a nivel de documento, lista de clases separadas por espacios.
dir (ltr|rtl) implícito dirección del texto débil/neutral
lang código de idioma implícito información sobre el idioma
Eventos: onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup.
Específicos
No tiene
De transición
No tiene
Atributo valor descripción

Ejemplos

  <p>
       Texto normal y... <s>Texto tachado</s>
  </p>

Comentarios

Advertencia: DESAPROBADO