Mobile app version of vmapp.org
Login or Join
Jessie594

: HTML heading and html special characters 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 &#224;

@Jessie594

Posted in: #Html

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 &#224; infolettre</h5>


This should display as "Souscrire à infolettre" but the à isn't showing.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie594

2 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh106

As 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">

10% popularity Vote Up Vote Down


 

@Gretchen104

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:


which browsers have you tested?
do other html-entities work?
have you tried creating a new file only containing that one line?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme