Duplicate anchors inside divs
-
I added some custom code to header.php which simply includes a few divs and anchors.
The anchors themselves are structured like this:
<a id="map-pin-1" class="map-pin" href="#"> <div class="map-tag"> <a href="#"></a> </div> </a>
When the page loads, I get this:
<a id="map-pin-1" class="map-pin" href="#"></a> <div class="map-tag"> <a id="map-pin-1" class="map-pin" href="#"></a> <a href="#"></a> </div>
Could I get an explanation and a fix please? I can’t link to the site, it’s not live yet.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Duplicate anchors inside divs’ is closed to new replies.