Copy link to clipboard
Copied
When I put in this code:
<li><a href="BPSS_VED.html"<a/><img class="active" src="images/5.jpg" title="Caption one" alt="School Songs by Brent Holl and Earth Dance by Vivian Caputo" /></li>
The error message pops up. I've read a bunch of the previous answers but none seem to address this particular problem.
Any help would be appreciated.
Bknjholl wrote
sorry: the code should be:
<li><a href="BPSS_VED.html"</a><img class="active" src="images/5.jpg" title="Caption one" alt="School Songs by Brent Holl and Earth Dance by Vivian Caputo" /></li>
You need to close the anchor <a></a> tag and wrap it around the image like below:
<li><a href="BPSS_VED.html"><img class="active" src="images/5.jpg"
title="Caption one" alt="School Songs by Brent Holl and Earth Dance by
Vivian Caputo" /></a></li>
Copy link to clipboard
Copied
sorry: the code should be:
<li><a href="BPSS_VED.html"</a><img class="active" src="images/5.jpg" title="Caption one" alt="School Songs by Brent Holl and Earth Dance by Vivian Caputo" /></li>
Copy link to clipboard
Copied
Bknjholl wrote
sorry: the code should be:
<li><a href="BPSS_VED.html"</a><img class="active" src="images/5.jpg" title="Caption one" alt="School Songs by Brent Holl and Earth Dance by Vivian Caputo" /></li>
You need to close the anchor <a></a> tag and wrap it around the image like below:
<li><a href="BPSS_VED.html"><img class="active" src="images/5.jpg"
title="Caption one" alt="School Songs by Brent Holl and Earth Dance by
Vivian Caputo" /></a></li>
Copy link to clipboard
Copied
Change code to this and it should validate.