Getting started with HTML documents

Create a new text document on the desktop and rename it demo1.html

Write the following code in it:

<!DOCTYPE html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <title>PHP中文网</title>
</head>
<body>
   This is www.php.cn!
</body>
</html>

微信图片_20180314102704.png

After saving, right-click to open the file in a browser, as shown below:

微信图片_20180314102720.png

##If garbled characters appear, modify the browser settings to Simplified Chinese format

微信图片_20180314102855.png

Continuing Learning
||
<?php echo "我的第一个网页";
submitReset Code