0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Great job! You just made the website very helpful and more informative! And here are the new improvements: add a photo of the boss to the website heading area.</p>
1
<p>Great job! You just made the website very helpful and more informative! And here are the new improvements: add a photo of the boss to the website heading area.</p>
2
<p>As we already know, tags can be single or paired. Single tags do not need a second closing tag; they feel great by themselves. For example, the <img> tag will allow you to add an image to the markup. We will use it shortly.</p>
2
<p>As we already know, tags can be single or paired. Single tags do not need a second closing tag; they feel great by themselves. For example, the <img> tag will allow you to add an image to the markup. We will use it shortly.</p>
3
<p>But not everything is so simple. <img> by itself does not make sense-how will the web browser know which image to show? In order for this tag to be useful to us, we need to provide an address that points to the image. This is done using the src attribute:</p>
3
<p>But not everything is so simple. <img> by itself does not make sense-how will the web browser know which image to show? In order for this tag to be useful to us, we need to provide an address that points to the image. This is done using the src attribute:</p>
4
<img src="muffin.png"><p>An attribute gives the browser more information about the type of content the tag desscibes. Here, we want an image, so we need to tell the browser where to find that image. Tags can have several attributes. In this case, they are separated by spaces:</p>
4
<img src="muffin.png"><p>An attribute gives the browser more information about the type of content the tag desscibes. Here, we want an image, so we need to tell the browser where to find that image. Tags can have several attributes. In this case, they are separated by spaces:</p>
5
<tag attribute1="value1" attribute2="value2"><p>For example, if you wish, you can set the image size as follows:</p>
5
<tag attribute1="value1" attribute2="value2"><p>For example, if you wish, you can set the image size as follows:</p>
6
<img src="muffin.png" width="200" height="100">
6
<img src="muffin.png" width="200" height="100">