HTML-基础

HTML 标题

HTML 标题(Heading)是经过 <h1> - <h6> 等标签进行定义的。学习

实例

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>

HTML 段落spa

HTML 段落是经过 <p> 标签进行定义的。code

实例

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

HTML 连接

HTML 连接是经过 <a> 标签进行定义的。blog

实例

<a href="http://www.w3school.com.cn">This is a link</a>

注释:在 href 属性中指定连接的地址。教程

(您将在本教程稍后的章节中学习更多有关属性的知识)。class

HTML 图像

HTML 图像是经过 <img> 标签进行定义的。im

实例

<img src="w3school.jpg" width="104" height="142" />

注释:图像的名称和尺寸是以属性的形式提供的。img

相关文章
相关标签/搜索