링크 속성

main
Peace 10 months ago
parent d697894fa6
commit c5f8330359
  1. 33
      Ex2_Selector and style/2-6/default.html

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
<style>
a:link {
color: red;
text-decoration: none;
}
a:visited {
color: yellow;
}
a:hover {
color: orange;
text-decoration: none;
}
a:active {
background-color: green;
text-decoration: underline;
}
</style>
</head>
<body>
<h2>Hyper link attributes</h2>
<a href="https://www.naver.com">네이버</a>
<hr>
<a href="https://www.google.com">구글</a>
</body>
</html>
Loading…
Cancel
Save