If you want the actual HTML to be visible on the page (as opposed to being treated as part of the page's HTML mark-up), use [man]htmlspecialchars/man or [man]htmlentities/man on the data when you output it. If that's not what you're asking, then we need more details.