Reputation: 41
I'm trying to add the © All rights reserved
text in my footer. I've done that but when I physically put the ©
in the index.html
file it displays this instead © All rights reserved
.
I'm not putting the Â
symbol myself. It auto generates it on the website. In the file itself, it does not exist. It doesn't even exist when I do view-source. How can I fix this issue?
Upvotes: 0
Views: 521
Reputation: 195
Try adding this to the HTML head. This issue is related to character encoding
<head>
...
<meta charset="utf-8">
...
</head>
Upvotes: 0
Reputation: 451
Inorder to incorporate the copyright symbol, you can use © in your code try this -
© All rights reserved
Upvotes: 1
Reputation: 3018
Click the "Run code snippet" button to check output.
<!DOCTYPE html>
<html>
<style>
body {
font-size: 20px;
}
</style>
<body>
<p>I will display ©</p>
<p>I will display ©</p>
<p>I will display ©</p>
</body>
</html>
Upvotes: 2