File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > Dom Selection</ title >
6+ < style >
7+ * {
8+ border : 2px solid # dedede ;
9+ padding : 15px ;
10+ margin : 15px ;
11+ }
12+ html {
13+ margin : 0 ;
14+ padding : 0 ;
15+ }
16+ body {
17+ max-width : 600px ;
18+ margin : 30px auto;
19+ font-family : sans-serif;
20+ color : # 333 ;
21+ }
22+ </ style >
23+ </ head >
24+ < body >
25+
26+ < h1 id ="judul "> Hello World</ h1 >
27+ < div id ="container ">
28+ < section id ="a ">
29+ < p class ="p1 "> paragraf 1</ p >
30+ < a href ="http://instagram.com/rulvyy "> Instagram Rafael Pandu</ a >
31+ < p class ="p2 "> paragraf 2</ p >
32+ < p class ="p3 "> paragraf 3</ p >
33+ </ section >
34+ < section id ="b ">
35+ < p > paragraf 4</ p >
36+ < ul >
37+ < li > item 1</ li >
38+ < li > item 2</ li >
39+ < li > item 3</ li >
40+ </ ul >
41+ </ section >
42+ </ div >
43+
44+ < script src ="script.js "> </ script >
45+ </ body >
46+ </ html >
Original file line number Diff line number Diff line change 1+ // DOM SELECTION
You can’t perform that action at this time.
0 commit comments