SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Threaded View

  1. #1
    SitePoint Evangelist winterheat's Avatar
    Join Date
    Aug 2007
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    is there a rule that says the attribute's value will be first parsed as HTML?

    i wonder if there is a rule that says:

    the attribute's value will be first parsed as HTML

    ?

    for example:

    <a href="foo.php?a=1&amp;b=2">

    the value will be converted into foo.php?a=1&b=2


    and

    <a href="#" onclick="changeIt( &quot;hello world &quot; ); return false;">Click me</a>

    the value part will be converted into changeIt("hello world"); return false;

    is there such a rule? hm... i wonder if any book or webpage actually state this rule? (as many of us learn HTML / CSS / Javascript by ourselves... i haven't heard of this rule before). thanks.
    Last edited by winterheat; Apr 6, 2009 at 20:20.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •