-3
How do I get one tag from another? Ex.:
<div>
<img src="...">
<a href="...">...</a>
<a href="...">...</a>
<a href="...">...</a>
</div>
In case I want to put an attribute in the <div>
to make a square with a color, but I want the image to be left of the square and not inside. What I do?
if the image is to be outside the div and to the left, why not put it outside the div then? can put both inside another div and use
display
to position as you wish– Ricardo Pontual