HTML Code anzeigen ohne Browser verarbeitung
Mit diesem Code Schnippsel könnt ihr HTML Code anzeigen lassen Code: $html = "<html><head><title>PHP!</title>"; $html .= "</head><body><center>"; $html .= "<h1>PHP = COOL</h1></body>"; $html .= "</html>"; echo $html; echo "<p><p>"; htmlspecialchars($html);
Code:
$html = "<html><head><title>PHP!</title>"; $html .= "</head><body><center>"; $html .= "<h1>PHP = COOL</h1></body>"; $html .= "</html>";
echo $html; echo "<p><p>"; htmlspecialchars($html);