Skip to content

Commit 87f75aa

Browse files
committed
Add alt attributes to example file for lesson 1
The tutorial has been updated with alt attributes on the images. This change brings the corresponding example file up to date.
1 parent fa42d12 commit 87f75aa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

html/lesson1/example.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
<title>I love owls</title>
55
</head>
66
<body>
7-
<div><img src="images/logo.png"></div>
7+
<div><img src="images/logo.png" alt="codebar.io"/></div>
88
<h1>Owls...</h1>
99
<h2>Why do I like owls so much?</h2>
1010
<ul>
11-
<li><img src="images/img1.jpg"></li>
12-
<li><img src="images/img2.jpg"></li>
13-
<li><img src="images/img3.jpg"></li>
11+
<li><img src="images/img1.jpg" alt="adorable"/></li>
12+
<li><img src="images/img2.jpg" alt="lovely"/></li>
13+
<li><img src="images/img3.jpg" alt="cuddly"/></li>
1414
</ul>
1515
<ol>
1616
<li><b>they are adorable</b></li>
1717
<li><b>and lovely</b></li>
1818
<li><b>and cuddly</b></li>
19-
<div><img src="images/img4.jpg"></div>
20-
<div><img src="images/img5.jpg"></div>
19+
<div><img src="images/img4.jpg" alt="cute owl"/></div>
20+
<div><img src="images/img5.jpg" alt="another cute owl"/></div>
2121
<a href="http://www.youtube.com/watch?v=gBjnfgnwXic">Watch this video here</a>
2222
</ol>
2323
<h4>
@@ -38,7 +38,7 @@ <h3>Owls:</h3>
3838
</p>
3939
</div>
4040
<div>
41-
<img src="images/img6.jpg">
41+
<img src="images/img6.jpg" alt="two owls"/>
4242
</div>
4343
<ul>
4444
<li>

0 commit comments

Comments
 (0)