HTML » Headings/Paragraphs/Links » List » Semantic HTML 1 » Files/Images »

File Paths:

Images:

Example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <h2>this is an image of a cat</h2>
  <img src="images/cat.png"/">
</body>
</html>

Result :

this is an image of a cat

HTML

參考資料:

1: Dealing with files – MDN

2: What is a URL? – MDN

3: Alternative Text

4: Dealing with files – MDN