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
  • 249,100
  • 51
  • 377
  • 410
latata
  • 1,703
  • 5
  • 27
  • 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
  • 914,110
  • 126
  • 1,211
  • 1,335