How to display html code on website.
- Get link
- X
- Other Apps
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 > )
'<' to < (we write less than tag (<) as < )
'>' to > (we write greater than tag (>) as > )
- <pre>
- <div class="html">
- <html>
- <head><title>Title</title></head>
- <body>
- <p>Unrendred html</p>
- </body>
- </html>
- </div>
- </pre>
- simply copy above snippet and paste in html page
- Get link
- X
- Other Apps
Comments
Post a Comment