WEB Archive
[HTML] CSS - style sheet(스타일시트) 의 상속성
universedevelope
2024. 8. 20. 14:18
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test010.html</title>
<style type="text/css">
p {color: blue; font-size: 20pt;}
</style>
</head>
<body>
<div>
<h1>스타일 시트의 상속성</h1>
<hr>
</div>
<div>
<p>스타일 시트는 <b>상속성</b>을 가지고 있다.</p>
</div>
</body>
</html>
스타일 시트는 상속성을 갖고있대요..!
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test010.html</title>
<style type="text/css">
p {color: blue; font-size: 20pt;}
</style>
</head>
<body>
<div>
<h1>스타일 시트의 상속성</h1>
<hr>
</div>
<div>
<p>스타일 시트는 <b style="font-style: italic; color: red;">상속성</b>을 가지고 있다.</p>
</div>
</body>
</html>
연달아서 체크해보았네요^^.. ㅎㅎ
728x90