easy question with html/css?

bgoldswo

New member
Remove the semi-colons and close all quotations on attributes.

<img src="locks.jpg" alt="lock links" width="510" height="110" usemap="locks" style="border-width: 0" />
 
for some reason my brain can't compute this, even though it should be simple by now.
i'm trying to move a pic over, but it wasn't working so i e-mailed my professor, but i still don't get it she said:

"On your images, height and widths are not part of the style, they are attributes and should be written as height="number" width="number".

and i change it but it still doesn't work, so heres the code:

<img src="locks.jpg" alt="lock links" width="510"; height="110"; usemap="locks" ; style="border-width: 0; />

<map id="locks" name="locks">

<area shape="circle" coords="52, 52, 43" href="history.htm" alt="History"/>

<area shape="circle" coords="255, 52, 43" href="enigma.htm" alt="Enigma"/>

<area shape="circle" coords="255, 52, 43" href="algo.htm" alt="Algorithms"/>

<area shape="circle" coords="355, 52, 43" href="single.htm" alt="Single Key"/>

<area shape="circle" coords="355, 52, 43" href="public.htm" alt="Public Key"/>
</map>

</p>

</body>
</html>
 
Remove the semi-colons and close all quotations on attributes.

<img src="locks.jpg" alt="lock links" width="510" height="110" usemap="locks" style="border-width: 0" />
 
Back
Top