A
Arjan
Can I make a hyperlink in a <td>-tag???
I want to use it for a forum.
And maybe also a roll-over color in a td-tag?
I want to use it for a forum.
And maybe also a roll-over color in a td-tag?
Arjan said:Can I make a hyperlink in a <td>-tag???
And maybe also a roll-over color in a td-tag?
Arjan said:Can I make a hyperlink in a <td>-tag???
I want to use it for a forum.
And maybe also a roll-over color in a td-tag?
Can I make a hyperlink in a <td>-tag???
And maybe also a roll-over color in a td-tag?
You can not simply embed a tag within a tag.
Naturally, someone will come along and say you can.
brucie said:in post <Richard said:
you can
brucie said:in post <Arjan said:
I figured you'd say that.
I don't think that's what he was asking about though.
<td <a href="#">blah</a>>yadayada</td>
Is possible?
Richard said:I don't think that's what he was asking about though.
<td <a href="#">blah</a>>yadayada</td>
Richard said:<td><a href="yourtexthere.com">this is a link</a></td>
but not
<a href="yourtexthere.com " <td>stupid idea</td/>>this is not a link</a>
You can not simply embed a tag within a tag.
Naturally, someone will come along and say you can.
rf said:Will you PLEASE get your termonology correct, if only for the sake of the
newbies here. The correct term is *element*, not tag.
Will you PLEASE get your termonology correct, if only for the sake of the
newbies here. The correct term is *element*, not tag.
You can, unfortunately. The browsers error correction (especially IE's)
will attemp to correct malformed HTML and *sometimes* get it right.
But, after all, what does this have to do with the OP's question? More of
your ramblings I presume...
Cheers
Richard.
Richard said:if you want to get downright technical, in this case, <td> is a tag, but
also an element
but also an element of <tr>
because you can't use <td> without <tr>.
<table> <td>yada</td> <table>
does not work.
<table> <tr><td>yada</td></tr> <table>
does work.
Toby A Inkster said:No, I think you misinterpreted the question, Richard.
Leif K-Brooks said:He's right calling it a tag this time, even if his idea is insane. He's
talking about embedding the <td> and </td> tags in a <a href="..."> tag,
not putting the <td/> as content for the <a/> element.
Andrew Cameron said:I'd even say on purpose. I'm loathe to get accusatory, but he's either a
troll or the biggest idiot this side of the microsoft.com web development
team.
Richard said:rf wrote:
if you want to get downright technical,
in this case, <td> is a tag,
Correct.
but
also an element of <tr>
because you can't use <td> without <tr>.
<table> <td>yada</td> <table>
does not work.
rf said:Using the correct terminology, "element", we simply can not arrive at the
solution Richard supplied. Only when we drop down a level and use "tag"
(which is simply a *part* of an element) can we say "put a table cell inside
a hyperlink tag, to arrive at
<a ...<td>...</td> >...</a> which is of course grossly invalid.
Leif K-Brooks said:Yes, but that's what he was talking about doing. It's stupid and
invalid, but it was what he was talking about.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.