How would you output a less than sign in HTML?

In order to write out a less than sign in HTML (which many people also call a left angled bracket), you can simply use this code:

<

How would you output a greater than sign in HTML?

If you want to write out a greater than sign in HTML (also known as a right angled bracket), you can simply use this code:

>

Happy coding – hope this helped!

Hiring? Job Hunting? Post a JOB or your RESUME on our JOB BOARD >>

Subscribe to our newsletter for more free interview questions.

Leave a Reply

Your email address will not be published.