Support » Fixing WordPress » Using HTML in blog title?

  • yojimbouk


    Hi. Newbie, but one who’s searched the codex and come up dry.

    I want to use the <strike> tag in the title of my blog, so it looks like — this probably won’t resolve, but —

    <strike>120</strike> 146 miles without a map

    (That is: <strike>120</strike> 146 miles without a map)

    However, the title displays the HTML including the angle-brackets as if it’s regular text. How can I fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • It is not possible to add html to a page-title (<title></title> in html)



    I’d probably write your title as, “120… No, 146 Miles Without A Map”



    How about adding a class for that in your CSS file? Then simply refer to the strike-out font as a SPAN or DIV.



    not in the <title> tags…



    I am not sure the OP was referring to the <title> tag in the head of a file. My impression was: it is about the blog TITLE like “Moshu’s Blog” – which you can change in the Options > General.
    However, even there you can NOT use HTML tags, it will be displayed, not rendered.



    If it’s for the title of the site, why not use an image instead?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using HTML in blog title?’ is closed to new replies.