jQuery
$('.list').size() how many elements?$('.line')[1] or $('.line').get(1) to get element 1.$('.line').append('<p>Hi there!</p>') to add: HTML, DOM elements, selector, array.$('li:first').html('goodbye') $('li').each(function (i) {this.style.color = 'red'})Apply function to each element. $('li a').attr('href') get attribute values. $('li a').attr('href', 'http://gotapi.com')4 of 11