기본 셀렉터

main
Peace 10 months ago
parent ce8d65541f
commit aa116d5835
  1. 27
      Ex2_Selector and style/2-1/default.html

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
<style>
h2 {
color: darkorange
}
.blue_text {
color: blue
}
#red_text {
color: red
}
</style>
</head>
<body>
<h2>Tag selector</h2>
<hr>
<h2 class="blue_text">Class selector</h2>
<hr>
<h2 id="red_text">Id selector</h2>
</body>
</html>
Loading…
Cancel
Save