Use Echo command to output HTML string : Echo « Development « PHP






Use Echo command to output HTML string

<html>
<head>
<title> Simple PHP Example </title>
</head>
<body>
<p><?php echo('This is a <b>test</b>!'); ?></p>
</body>
</html>

           
       








Related examples in the same category

1.Echo multiline string
2.Echoing a String
3.Echo variables
4.Use Echo to output string
5.Escape the inner quotation marks by placing a backslash before each one
6.Use echo command to output HTML