給我一個html 範例
时间: 2024-05-26 12:08:15 浏览: 65
HTML(HyperText Markup Language)是用于创建Web页面的标准标记语言。下面是一个简单的HTML例子,用于在网页上显示"Hello, World!"。
```
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is an example of a simple HTML page.</p>
</body>
</html>
```
这个例子包括了基本的HTML结构,包括文档类型声明,head和body标签,以及一个标题和一个段落。你可以使用任何文本编辑器来创建HTML文件,并在浏览器中打开它来查看它的输出。
阅读全文
相关推荐










