wondering why ...

Discussion in 'Javascript' started by find clausen, Feb 11, 2007.

  1. find clausen

    find clausen Guest

    Why is it necessary with a double </a> her:

    document.write('<a class="no" href="photo.html"><img src=' +
    photo[number]+'</a></a>');
    document.write('<p><div class="box z07" style="width:'+wdt+'px;">');
    document.write('<p>'+tekst[number]);
    document.write('</div>');

    with only: photo[number]+'</a>');

    the anchor is not closed.

    www.photopress.dk
     
    find clausen, Feb 11, 2007
    #1
    1. Advertising

  2. find clausen

    Ian Collins Guest

    find clausen wrote:
    > Why is it necessary with a double </a> her:
    >
    > document.write('<a class="no" href="photo.html"><img src=' +
    > photo[number]+'</a></a>');


    Where's the closing '>' for the img tag?

    --
    Ian Collins.
     
    Ian Collins, Feb 11, 2007
    #2
    1. Advertising

  3. find clausen

    find clausen Guest

    On Sun, 11 Feb 2007 22:48:01 +1300, Ian Collins <>
    wrote:
    > Where's the closing '>' for the img tag?

    Thanx a lot ... :)
     
    find clausen, Feb 11, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. scorpion53061

    I am wondering how you would handle this.....

    scorpion53061, Apr 11, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    294
    Roger Abell [MVP]
    Apr 12, 2004
  2. suresh
    Replies:
    1
    Views:
    359
    Karl Seguin
    Apr 14, 2005
  3. Replies:
    4
    Views:
    352
  4. Mr. SweatyFinger

    why why why why why

    Mr. SweatyFinger, Nov 28, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    917
    Mark Rae
    Dec 21, 2006
  5. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,032
    Smokey Grindel
    Dec 2, 2006
Loading...

Share This Page