Error message, Special characters must be escaped: [<]

New Here ,
Feb 24, 2019 Feb 24, 2019

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.

Views

1.2K

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 24, 2019 Feb 24, 2019

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>

Likes

Translate

Translate
New Here ,
Feb 24, 2019 Feb 24, 2019

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>

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 24, 2019 Feb 24, 2019

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>

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 24, 2019 Feb 24, 2019

Copy link to clipboard

Copied

LATEST

Change code to this and it should validate.

<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>

Nancy O'Shea, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines