How to echo html tags using PHP
I want to actually print the HTML tags on the screen. I am not getting how
to escape the HTML tags.
Expected Output
<div>Hey, you can see the div tag on the screen.</div>
The div tags shouldn't be taken in as HTML tags instead I want to print
them on the screen. How can I do that?
No comments:
Post a Comment