iQuery language like to learn


#1

HTL[details=Summary]This text will be hidden[/details]


#2

@bitcoder13017,

If you are working with Tag selectors
you must be able to
read the index.html-document
following the guide-lines of the
DOM Document Object Model.

                       html
                         |
               + - - - - + - - - - +
               |                   |
              head                body
               |                   |
           + - - - +        +- - - +- - - +
           |       |        |      |      |
         link    title      p     div     p
                        (intro)    |  (summary)
                                   |
                           + - - - + - - - - +
                           |                 |
                           p                 ul
                      (synopsis)             |
                                             |
                                     + - - - + - - - - +
                                     |       |         |
                                     li      li        li
                                     |       |         |
                                     p       p         p
    The p-Tags are located:
    html > body > p  (2)
    html > body > div > p (1)
    html > body > div > ul > li > p (3)
    p         as selector we have selected all 6 p-Tag's
    body > p  as selector we selected 2 p-Tags ==> Intro & Summary
    div > p   as selector we have selected 1 p-Tag  ==> Synopsis
    div p as selector we have selected 4 p-Tag's
    li > p    as selector we have selected 3 p-Tags under the li-Tag
    ul p     as selector we have selected 3 p-Tags under the ul-Tag

Some reference-material:

As jQuery uses the same syntax for it’s selector’s
http://www.w3schools.com/jquery/jquery_ref_selectors.asp
http://www.w3schools.com/jquery/trysel.asp