Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validation of 4.01 Error

Status
Not open for further replies.

Jimuniguy

Technical User
Mar 6, 2002
363
GB
Hi,

This is strange, read, and then please help!

This is my code:
Code:
<a href=&quot;[URL unfurl="true"]http://www.surrey.ac.uk&quot;>[/URL]
<img src=&quot;../Images/unis2.gif&quot; width=186 height=70
style=&quot;
position: absolute; 
visibility: visible; 
left: 10px; 
top: 10px; 
border:0;
&quot;>
</a> 

Now, rightly, 4.01 validation shows this error:

[b]Error: required attribute &quot;ALT&quot; not specified [/b]

Fair enough, now if I add in an alt tag to that A Href tag, i now get the following:

[b]Error: there is no attribute &quot;ALT&quot; for this element (in this HTML version)[/b]

As the saying goes, EHHHH?

Anyone know where or what I am supposed to do with the alt tag then?

Cheers

James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top