Why <img> tag dont have href attribute?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bart Lateur

    #16
    Re: Why &lt;img&gt; tag dont have href attribute?

    biju wrote:
    >But why browsers dont support href attribute for <imgtag?
    >
    >Whether at any time this came up at W3C?
    Somewhat different yet similar question: why do some tags have a HREF
    attribute (for example LINK) while others have SRC for the very same
    purpose? Why is it not SRC for LINK?

    Why does the OBJECT tag have neither but instead has a DATA attribute
    for the URL?

    --
    Bart.

    Comment

    • Jukka K. Korpela

      #17
      Re: Why &lt;img&gt; tag dont have href attribute?

      Scripsit Harlan Messinger:
      In other words, if Barnes & Noble (bn.com) had simple text links for
      Books, DVDs, Music, etc., and I went to their site to buy the Counting
      Crows album that had just been released, and I discovered that the
      Music links was purple, I would say, "Oh, I guess I've been to their
      music page before" and forget about buying the Counting Crows
      album--never mind that the link is purple because three days earlier
      I was browsing for samba music.
      Similarly, if you visit a news site and they have a link "Sports", which
      is purple, you will apparently refrain from clicking on that link, since
      you realize that you already saw the sports news. It's really up to you.

      Others may use the color clue when they get acquainted with a news site
      and wish to check all the major subpages - a useful idea. The color
      clues help them see at a glance which subpages they already checked.

      Links colors are very useful clues. There is always the option of
      missing clues or faking to misunderstand them.

      --
      Jukka K. Korpela ("Yucca")


      Comment

      • Andreas Prilop

        #18
        Re: Why &lt;img&gt; tag dont have href attribute?

        On Wed, 9 Apr 2008, Jukka K. Korpela wrote:
        "Familienählich keit"
        Familienähnlich keit
        if someone might want to look up this word.

        --
        In memoriam Alan J. Flavell

        Comment

        Working...