tags:

views:

110

answers:

5

... <a href=""http://localhost:8888/PhpProject1/php.php/Php.php">&lt;img src="/PhpProject1/vital1_top_logo.jpg"  height="180" border="0px" > height="180"  border="0px" " ></a>
          type="text/css" rel="stylesheet" />  ...
</head>

Every time i use this tag appears a "_" on the right of the image

+2  A: 

It might help if you'd stick to the HTML syntax, right now this snippet is just gibberish. I tried cleaning it up, but then there's almost nothing left that makes sense.

deceze
+2  A: 

You added two double quotes:

<a href=""http:

Use a single one

<a href="http:
Robert Munteanu
actually that's two double quotes and he have to use one double quote. A single quote looks like this: '
Tim Büthe
OK, I'll say _doubled_ quotes, to make it clear.
Robert Munteanu
@Tim Büthe: Isn't ' an apostrophe though, and " a quotation mark? :)
roe
+3  A: 

<a> and <img> are not allowed in <head>

Natrium
+6  A: 

The code you pasted is borked (double quotes at the beginning of href and an extra '>' in the middle of the img tag) so I'm guessing this isn't a real example. My guess is that you have some kind of whitespace between your img tag and the end of your a tag, like so

<a href=".."><img src=".."> </a>

which will show up as an underlined space. The whitespace might be a newline too mind you, so you should always keep them tight. For example, the following will produce the same problem

<a href="..."><img src="...">
</a>

HTH.

roe
you should use <img/> instead of <img>
the_drow
Why? <img> is perfectly valid HTML4 whereas <img/> is XHTML.
DaClown
@the_drow: You are right when he is using XHTML, but in case of HTML there are some tags that don't need to be closed like br and img
Tim Büthe
+2  A: 

Try:

 <a href="http://localhost:8888/PhpProject1/php.php/Php.php"&gt;&lt;img src="/PhpProject1/vital1_top_logo.jpg" height="180" border="0px" /></a>
James
Thank you ... yeah it helped...sory about the misspelling on my html
The (X)HTML border attribute doesn't allow "px": you need border="0".
Ms2ger
I was just re-using igor's existing code.
James