Certain characters are reserved in HTML. These characters are called Entities. The characters such as ‘<‘, ‘>’ etc are entities and while using them you have to either choose entity name or entity number.
The copyright symbol is also an HTML Entity. So, when you want to add copyright symbol inside text use its entity name or entity number. The entity name of copyright symbol is © and the entity number is © .
Let’s go through a HTML example.
You can also watch this HTML tutorial as video from our Youtube Channel.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Copright Symbol</title> </head> <body> <h1>©Coding with Rashid</h1> </body> </html>
As you can see, the entity name © is added before the text Coding with Rashid. See the output given below.
You can also use entity number instead of entity name. Entity name will be easier to remeber.
Wondering what are the other HTML Entities and their corresponding entity names? Go through the list given here.