<?php
echo '<title>this is my first php program</title>';
echo '<h1>hello,php!</h1>';
?>
只要是html代码都可以用echo输出。