diff --git a/source/_posts/CSE154第一周回顾.md b/source/_posts/CSE154第一周回顾.md index ca2f716..f16d938 100644 --- a/source/_posts/CSE154第一周回顾.md +++ b/source/_posts/CSE154第一周回顾.md @@ -219,4 +219,14 @@ HTML的全称是Hyper Text Markup Language(超文本标记语言) ``` - 绝对路径:指文件的特定位置,包括域和协议。 - 通常用于指向在线发布的链接(不在你自己的网站内)。 - - 一个例子:"https://validator.w3.org" \ No newline at end of file + - 一个例子:"https://validator.w3.org" + +## 图像:标签 +- 将图形图像插入页面(内联) +- src属性指定图像的链接 +- alt属性为屏幕阅读器提供文本,或者如果img不显示的话 + - HTML5所需的 +- 如果将img放在a标签中,它就变成了一个可点击的链接 + ```html + A Koala with a leaf + ``` \ No newline at end of file