" . htmlentities($paragraph, ENT_HTML5) . ""; echo $html; ?>In this example, the $paragraph variable contains a block of text that is converted to HTML code using the htmlentities() function. The resulting HTML is then wrapped in
tags and echoed to the web page.