Angle bracket (<) without triggering html code

Html

Html Problem Overview


> Possible Duplicate:
> printing “<html>” using html

How can I put the < symbol literally into html text without invoking html stuffs.

Html Solutions


Solution 1 - Html

Use "&lt;". Similarly, you can use "&gt;" for >, or "&amp;" for &.

These are called HTML "entities". You can learn more about them here

Solution 2 - Html

Use &lt; for <.

Or &gt; for >.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1950278View Question on Stackoverflow
Solution 1 - Htmlpaulsm4View Answer on Stackoverflow
Solution 2 - HtmlSmuufView Answer on Stackoverflow