Prev Next

Web / HTML Interview questions

How to display < and > using html without transforming it to & and >?

Escape the & using &.

Change this

<h1>&lt;test-Link &gt;</h1>

To the below.

<h1>&amp;lt;test-link &amp;gt;</h1>

More Related questions...

Show more question and Answers...


Comments & Discussions