My HTML code for Page title looks like this
<title>Telefonía</title>
When i check it on browser the SPanish character is not displayed exactly like the above
It shows page title as below
I tried using & iacute; AND **&# 237; ** but it doesnt work in PAGE TITLE
Here is my website url http://tinyurl.com/agdsqff i checked all the special codes but it doesnt work
is the hex code for it. í works as well http://jsfiddle.net/PDCvw/ EDIT
It appears to work for me in the title. A link is http://shodor.org/~amalani/acute.html You have the code
but what you need is Telefonía
Telefonía
The element
<title>Telefonía</title>
works just fine, provided that the document is saved in UTF-8 encoding (which is the encoding declared in an HTTP header sent by the server – nometa
tag inside the document can override that).You seem to be changing the content of your page trying various ways that cannot work, such as
<title>Telefonía</title>
and<title>Telefoniacute;a</title>
. If you use an entity reference, you should write<title>Telefonía</title>
. But there is no need for that: using the character as such is cleaner and simplerPut this in your
<head>
:and if you want change your title dynamically in you .js put:
This works.
See http://www.ascii.cl/htmlcodes.htm to check how you should encode special characters.
In this case it would be
í
orÍ
Try writing
instead. These are HTML escape characters. Here you can find a whole list http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php