������HTML��ǩ

ÿ��HTML�ĵ����������¼����������֣�

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ҳ�����</title>
</head>
<body>
    <h1>����һ������</h1>
    <p>����һ�����䡣</p>
</body>
</html>


���ñ�ǩ

�����ǩ
<h1> �� <h6>������HTML���⡣<h1> ����߼���ı��⣬<h6> ����ͼ���ı��⡣
<h1>����������</h1>
<h2>���Ǵμ�����</h2>

<b>���Ӵ��ı���
<i>��б���ı���
<br>�����뻻�С�
<p>�������ǩ��
<p>����һ�����䡣</p>
���־���
<p style="text-align: center;">������־��ж��롣</p>
�����Ҷ���
<p style="text-align: right;">��������Ҷ��롣</p>
���������
<p style="text-align: left;">�����������루Ĭ�ϣ���</p>

��ɫ�����ʽ
<p style="color: red;">��������Ǻ�ɫ�ġ�</p>
<p style="color: #FF0000;">��������Ǻ�ɫ�ġ�</p>

������ɫ����
<div style="background-color: #FF0000;">���Ǻ�ɫ����</div>
------------------------------
<strong>����ʾ�ı�����Ҫ�ԡ�
<p>����һ�� <strong>��Ҫ</strong> �ľ��ӡ�</p>
------------------------------
<em>����ʾǿ�����ı���


���ӱ�ǩ <a>�����峬���ӡ�
<a href="https://www.example.com">����ʾ����վ</a>

ͼ���ǩ <img>������ҳ����ͼƬ��
<img src="ͼƬ��ַ" alt="����������">
���ӵ�ַ


��������
�б���ǩ
<ul>���������
<ol>���������
<li>���б��
<ul>
  <li>��� 1</li>
  <li>��� 2</li>
</ul>
<ol>
  <li>��� 1</li>
  <li>��� 2</li>
</ol>

�����ǩ
<table>���������
<tr>��������
<th>����ͷ��Ԫ��
<td>����׼��Ԫ��
<table>
  <tr>
    <th>�� 1</th>
    <th>�� 2</th>
  </tr>
  <tr>
    <td>���� 1</td>
    <td>���� 2</td>
  </tr>
</table>