How to add angle bracket (<) without triggering HTML code?

Spread the love

Sometimes, we want to add angle bracket (<) without triggering HTML code.

In this article, we’ll look at how to add angle bracket (<) without triggering HTML code.

How to add angle bracket (<) without triggering HTML code?

To add angle bracket (<) without triggering HTML code, we add HTML entities.

For instance, we write

&lt;

to add the HTML entity for <.

TYhen < is rendered on the page.

Conclusion

To add angle bracket (<) without triggering HTML code, we add HTML entities.

Leave a Reply

Your email address will not be published. Required fields are marked *