HTML 学习记录

<h1>This is a heading  </h1> 标题   h后面的数字是字体大小

<p>This is a paragraph.</p>段落
<a href="http://www.w3school.com.cn">This is a link</a>网址  href是网址的属性 只能是属性a
<img src="w3school.jpg" width="104" height="142" />图片

align 格式对齐方式

hr 元素可用于分隔内容。是一条横线

<h2><a name="C4">Chapter 4</a></h2> 命名一个连接

<a href="#C4">查看 Chapter 4。</a> 跳转到该位置

 

alt 属性用来为图像定义一串预备的可替换的文本。替换文本属性的值是用户定义的。

<img src="boat.gif" alt="Big Boat">
原文地址:https://www.cnblogs.com/naizui/p/5555121.html