Files
stack/docs/Web/helloworld/first_page.md
T
2022-05-09 21:25:32 +08:00

25 lines
524 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
sidebar_position: 1
---
# 第一个页面(hello world)
```html title="examples/hello-world/index.html"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div>hello world</div>
</body>
</html>
```
将文件在浏览器中打开,你将会看到 `hello world` 字样
![预览效果](./hello_world.png)