HTML Entities
Sign |
Description | Entity name | Entity number |
---|---|---|---|
< | Less than(start of HTML element) | < | < |
> | Greater than(end of HTML element) | > | > |
“ | Double quotation | " | “ |
& | Ampersand ( beginning of HTML entity) | & | & |
There are two methods for displaying HTML tags as plain text.
Table of Content
- Using plaintext element
- HTML entities
How to display HTML tags as plain text in HTML ?
In this article, we will learn how to display HTML tags as plain text in HTML. We can replace the plain text by using < with < or &60; and > with > or &62; on each HTML tag.