about summary refs log tree commit diff
path: root/usth/ICT3.2/prac/3/1.html
blob: 6e4378d2575e384aab84fcc89bb8be45d661cca2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js'
        integrity='sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs='
        crossorigin='anonymous'></script>

<body>
  <h1>Introduction</h1>
  <div>
    <h1>About HTML</h1>
    <h1>About CSS</h1>
  </div>
  <h1>About JavaScript</h1>

  <script>$('div > h1').css('background-color', '#436e58')</script>
</body>
</html>