How To Add Copyright Symbol To Your HTML Document
Có thể bạn quan tâm
When building websites, you may want to display a copyright symbol to indicate ownership or rights over content. This symbol can easily be added to your HTML document using several methods, including Hex Code, HTML Entities, or Decimal Unicode.
Methods to Add Copyright Symbols to Your HTML Document
Here are three simple methods to add the copyright symbol to your HTML page.
1. Using HEX Code
Hex codes represent characters using hexadecimal values. For the copyright symbol, the hex code is ©. You can insert this hex code into your HTML document to display the copyright symbol.
Example: This example illustrates the use of hex code to add a copyright symbol to your HTML document.
HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Copyright Symbol Example</title> </head> <body> <p>All rights reserved © 2024 MyCompany.</p> </body> </html>Output:
Using HEX Code
2. Using HTML Entity
The easiest and most common method to add a copyright symbol in HTML is by using the HTML entity ©. This is a built-in entity in HTML, making it straightforward to insert the symbol without needing to remember any specific codes.
Example: This example illustrates the use of HTML entity to add a copyright symbol to your HTML document.
HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>HTML Entity for Copyright</title> </head> <body> <p>© 2024 MyCompany. All rights reserved.</p> </body> </html>Output:
Using HTML Entity
3. Using Decimal Unicode
Another method to add the copyright symbol is using its decimal Unicode value, which is ©. This method is similar to using hex code, but it uses the decimal representation of the symbol.
Example: This example illustrates the use of decimal unicode to add a copyright symbol to your HTML document.
HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Decimal Unicode for Copyright</title> </head> <body> <p>Content copyright © 2024 MyCompany.</p> </body> </html>Output:
Using Decimal Unicode
Comment More info Next Article How to Add Symbols in HTML?K
kankshi25 Follow ImproveTừ khóa » Html Code To Copyright Symbol
-
HTML Copyright Symbol
-
HTML Symbols - W3Schools
-
Copyright Sign HTML Symbol, Character And Entity Codes - Toptal
-
How To Create The Copyright Symbol In HTML - Career Karma
-
HTML Copyright Code
-
How To Make The Copyright Symbol Html Code Example - Code Grepper
-
How To Add A Copyright Symbol In HTML - Quora
-
Copyright Symbol Alt Code, HTML Code (Copy And Paste)
-
How To Add A Copyright Symbol In Html - Reactgo
-
How To Create The Copyright Symbol In HTML
-
© ℗ ⓒ Copyright Symbol - Alt Codes
-
Copyright Symbol - Wikipedia
-
HTML Copyright Symbol | Justfreetools
-
How To Insert © Copyright Symbol In Text - Have Camera Will Travel