I need to show "<>" symbols for my string "DummyText". When i run and inspect the element, it converted to be DOM element in HTML like . This is the code I am trying to do
<p><a href='' title='Survey Link'><DummyText></a></p>
Use < and > instead, from here
<p><a href='' title='Survey Link'><DummyText></a></p>
What's happening is that the reserved characters <> are being parsed as HTML. Since <Dummy Text> doesn't exist as a tag, it swallows it so that it doesn't appear on your page.
To fix this you need to use HTML character codes. Instead of inserting the symbol < use the string < and instead of > use >