How to add < and other special characters in between active <> on html web dev

Screenshot 2023-08-23 222336

so my example is

I want the <> to appear on the screen and not be a part of the line structure on screen I want it to show

You can achieve that by using &gt; for the next arrow (greater than sign) and &lt; for back arrow (less than sign)
So your tag will look like this:
Of course, you can apply those two to any HTML tag to show it as plain text.

1 Like