How to display HTML source code on a page in PHP?

To display html source code you can use “htmlspecialchars” php function.

For example if we want to display img source code page

php functions