我有一个可能很愚蠢的问题,但无论如何我都会问。
首先是 PHP 还是 HTML 代码是否重要?
例如:PHP 是在 HTML 之前,在 HTML 之后,还是根本不重要?
<?php
echo "This is text";
?>
<html>
<head>
</head>
<body>
<center>
<font size="2">This is text</font>
</center>
</body>
</html>
或者:
<html>
<head>
</head>
<body>
<center>
<font size="2">This is text</font>
</center>
</body>
</html>
<?php
echo "This is text";
?>
或者:
<html>
<head>
</head>
<body>
<?php
echo "This is text";
?>
</body>
</html>