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
- Projecting Content into Components with ng-content
- How to align content of a div to the bottom using CSS ?
- How to make div height expand with its content using CSS ?
- How to set div width to fit content using CSS ?
- How to wrap table cell <td> content using CSS ?
- How to make div width expand with its content using CSS ?
- Display Content on hovering Card using CSS
- CSS | align-content property
- CSS | justify-content Property
- CSS | content Property
- CSS | fit-content() Property
- CSS place-content Property
- How to underline a text content using HTML ?
- How to insert HTML content into an iFrame using jQuery?
- How to group footer content in form of table using HTML ?
- HTML Course | Building Main Content - Section 1
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.