[html5] Equivalent of <s> in HTML5?
Ian Hickson
ian at hixie.ch
Tue Oct 13 17:46:19 PDT 2009
On Wed, 14 Oct 2009 a2h at live.com.au wrote:
>
> Currently I am in the process of converting some of the code of one of
> my webapp's HTML over to HTML5, from XHTML1.
>
> Right now to signify links where the target is unavailable but
> eventually will be implemented, I am using strikeouts.
>
> However, it appears that <s> has been deprecated in HTML5.
>
> I have had a look, and it appears the closest replacement is <del>.
> However, it appears that <del> is for things that have been removed,
> which would not match the intention of my current usage.
>
> Will I need to use <del> or are there alternatives?
I would put a class attribute on the element (<a href="..."
class="notyet">) and then use the following CSS:
.notyet { text-decoration: line-through }
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the Help
mailing list