HTML その他

1. このページの目的

HTML に関するちょっとしたメモを書く。

2. s 要素



The s element represents contents that are no longer accurate or no longer relevant.

引用元:4.5.5 The s element | HTML Standard


Buy our Iced Tea and Lemonade!

Recommended retail price: $3.99 per bottle

Now selling for just $2.99 a bottle!

HTML ソースコード

<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>