Alex Rivera | Logout

Is it possible to strike the title shown in the title bar?

Asked 2012-10-30T15:42:53.703
14

Is it possible to strike the title

<title><s>My Title</s></title>

like this, so that the titlebar will show My Title? Or is there a way to solve this with css?

Edit
Report

1 Answer

19

From MDN on the <title> element:

The HTML Title Element defines the title of the document, shown in a browser's title bar or on the page's tab. It can only contain text and any contained tags are not interpreted.

So no, it cannot be done like that.

Update:

Other answers suggest using various combinations of unicode characters to accomplish a strike through, and even though that might be possible and could yield a decent result, I believe it comes with a large drawback.

I'm not an expert in SEO in any way, but from what I know, and according to Googles Search Engine Optimization Starters Guide the <title> is of great importance when it comes to search engine optimization. Their guide suggest that you should avoid:

  • Choosing a title that has no relation to the content on the page
  • Using default or vague titles like "Untitled" or "New Page 1"

My interpretation would be that using obscure characters in your title would be a direct violation of that, so based on that I would strongly suggest that you avoid it.

answered 2012-10-30T15:44:42.850

Your Answer