0

I want to have in my <title> tag a star character (&starf;). It's not a problem to put &starf or &#9733; but when I put something like this in html code, when I view source code , of website I see real html code. I want to see star in source code. Is it possible - I can see it here: http://www.kabinysanitarne.pl/

Anybody knows how can I do this? :)

David Thomas
  • 240,457
  • 50
  • 366
  • 401
latata
  • 1,683
  • 5
  • 26
  • 57
  • Special characters in `title` elements are often displayed wrong, see http://stackoverflow.com/questions/8865808/title-utf-8-on-html (This is independent of how you enter the characters there.) – Jukka K. Korpela Jun 02 '12 at 06:14

1 Answers1

4

You type a ★ and ensure that the character encoding of the HTML matches the encoding specified in the HTTP headers (and any meta tags that specify it).

Quentin
  • 857,932
  • 118
  • 1,152
  • 1,264