Welcome to the HTML Basic Tutorial! This page is designed to help beginners understand the fundamentals of HTML, the standard markup language for creating web pages.
HTML 简介
HTML (HyperText Markup Language) is the backbone of any web page. It defines the structure and content of the page, including text, images, links, and more.
HTML 基础元素
<html>
: 根元素,包含整个页面的内容。<head>
: 包含页面的元数据,如标题、链接和脚本。<body>
: 包含页面的可见内容。
HTML 标题
HTML 使用标题标签 <h1>
到 <h6>
来定义标题,其中 <h1>
是最大的标题,<h6>
是最小的标题。
<h1>HTML 基础教程</h1>
<h2>HTML 简介</h2>
<h3>HTML 基础元素</h3>
HTML 段落
HTML 使用 <p>
标签来定义段落。
<p>HTML 是一种用于创建网页的标准标记语言。</p>
HTML 链接
HTML 使用 <a>
标签来创建链接。
<a href="https://www.example.com">访问 Example 网站</a>
HTML 图片
HTML 使用 <img>
标签来插入图片。
<img src="https://cloud-image.ullrai.com/q/image/" alt="示例图片"/>
HTML 列表
HTML 支持两种类型的列表:无序列表和有序列表。
无序列表
<ul>
<li>项目 1</li>
<li>项目 2</li>
<li>项目 3</li>
</ul>
有序列表
<ol>
<li>项目 1</li>
<li>项目 2</li>
<li>项目 3</li>
</ol>
HTML 表格
HTML 使用 <table>
、<tr>
、<th>
和 <td>
标签来创建表格。
<table>
<tr>
<th>标题 1</th>
<th>标题 2</th>
</tr>
<tr>
<td>数据 1</td>
<td>数据 2</td>
</tr>
</table>
学习更多
想要了解更多关于 HTML 的知识,请访问我们的 HTML 教程 页面。