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>
After saving, right-click to open the file in a browser, as shown below:
##If garbled characters appear, modify the browser settings to Simplified Chinese format