Quote:
Originally Posted by Kirk Y
Nice, I like it. You should probably make your code compliant though - you're using deprecated tags.
Code:
<span style="color:#0066cc;"><img src="image.gif" />
|
That's still not compliant. Compliant would be:
Code:
<span style="color:#0066cc;"><img src="image.gif" alt="" />
[/quote]
Oh, and technically, while it don't work, this is theoretically correct XHTML:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Title</title>
</head>
<body><p>
<img src="" alt=""></img></p>
</body>
</html>
(seriously, I validated it). So what he was doing was not 100% wrong. Oh, and the border tag is still valid in XHTML 1.0 Transitional.