Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CN-Curriculum authored Jul 20, 2023
1 parent 43b77cf commit 3dedc3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ The `<img>` tag allows us to add an image to our website. But how does it know w

Just like the anchor tag uses the `href` attribute, the `<img>` tag uses an attribute called `src` (short for source). The `src` attribute holds the address of the image we want to show.

Unlike most tags, the `<img>` tag doesn't need a closing tag. It's what we call a **self-closing tag**.

Here's what it looks like:

```html
<img src="https://www.example.com/image.jpg">
```

Oh, and one more thing. Unlike most tags, the `<img>` tag doesn't need a closing tag. It's what we call a **self-closing tag**.
<br>


Expand Down

0 comments on commit 3dedc3e

Please sign in to comment.