Concept to display HTML code on the website.
The HTML code is started from a tag that is ‘<‘ (less than ) and closed with ‘>’ greater than.
Let’s come to the point, you need to convert.
‘<‘ to < (we write less than tag (<) as < )
‘>’ to > (we write greater than tag (>) as > )
- <div class=”html”>
- <p>Unrendred html</p>
Note:- If you have problem to generate custom html code. Please use display html code on the webpage generator. Link given below.