I'm trying to edit a index.html file but in my heading my html special character code is not showing on the screen.
Example:
<h5>Souscrire à infolettre</h5>
This should display as "Souscrire à infolettre
" but the à
isn't showing.
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.
Sign up to join this communityAs a french user, you should not do that. Simply encode all your files in UTF-8 and you will be able to use whatever accent you want : ç,é,è,à,ô...
But you will need to add a little header to the html file.
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
for backwards compatibility with pre-HTML5 user agents. (Yes, they do still exist.)
Jan 11, 2012 at 15:00
there's nothing wrong with your code, as you can see in this jsfiddle.
the problem has to be something else, but to find that out, we'll nee a bit more information:
&224;
instead ofà
).