[html5] Equivalent of <s> in HTML5?

John S. Urban urbanjost at comcast.net
Wed Oct 14 17:31:33 PDT 2009

Although the problem itself begs the question of why more browsers don't 
implement a  feature to detect broken links
on a page.
----- Original Message ----- 
From: "Ian Hickson" <ian at hixie.ch>
To: <a2h at live.com.au>
Cc: <help at lists.whatwg.org>
Sent: Tuesday, October 13, 2009 8:46 PM
Subject: Re: [html5] Equivalent of <s> in HTML5?

> 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.   `._.-(,_..'--(,_..'`-.;.'
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org 

More information about the Help mailing list