1. 태그 선택하기 - $('selector') const h1Elem1 = document.querySelector('h1');// JavaScript로 태그 선택 const h1Elem2 = $('h1'); // jQuery로 태그 선택 h1Elem1 === h1Elem2 jQuery에서는 $('selecto')로 선택자를 지정할 수 있다. 2. 태그 속성과 HTML 값을 확인하고 변경하기 attr() - 태그 속성의 값을 가져오고 변경하기 attr() 사용방법 $('selector').attr('태그의 속성 key명', '세팅할 value') attr()를 이용해서 값 가져오기 $('div1').attr('style') attr()를 이용해서 값 변경하기 $('div1').attr('style', ..