HTML provides some method to display reserved character. Reserved characters are those characters which are either reserved for HTML or those which are not present in the basic keyboard. For Example: ‘<‘ is already reserved in HTML language. Sometimes this character needs to display on the web page which creates ambiguity in code. Along with these are the character which is normally not present in the basic keyboard ( £, ¥, €, © ), etc. HTML provides some Entity name and Entity number to use these symbols. Entity number is easy to learn. See the list of HTML entities.
Example: This example uses HTML entities using CSS to add some content in the document.
Example 2: This example adds greater than and less than sign using CSS, The greater than and less then sign added using its corresponding escaped Unicode.
- HTML | Entities
- HTML | content Attribute
- How to use AngularJS to Display HTML content value ?
- HTML | DOM Meta content Property
- How to underline a text content using HTML ?
- HTML | <meta> content Attribute
- HTML | Adding Youtube videos
- How to determine the content of HTML elements overflow or not ?
- How to insert HTML content into an iFrame using jQuery?
- HTML course | Building Main Content - Section 3
- HTML Course | Building Main Content - Section 2
- HTML Course | Building Main Content - Section 1
- How to get all HTML content from DOMParser excluding the outer body tag ?
- How to remove SVG content?
- CSS | fit-content() Property
- CSS | content Property
- How to set div width to fit content using CSS ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.