반응형
<!DOCTYPE html>
<html lang="kr">
<head>
<title>Home - My first website.</title>
<link href="styles.css" rel="stylesheet" />
<style>
h1 {
color: yellowgreen;
text-decoration: underline;
font-weight: 300;
font-style: italic;
font-size: 50px;
}
address {
text-align: center;
color: tomato;
}
</style>
</head>
<body>
<header>
<h1>The Nick Times</h1>
</header>
<main>
<address>123 Road Altavista</address>
</main>
<footer>© 2024.NN</footer>
</body>
</html>
결과

반응형
'2. CSS' 카테고리의 다른 글
CSS 박스(Box)의 개념을 알아보자 (0) | 2024.11.13 |
---|---|
CSS의 특징 - Cascading (0) | 2024.11.11 |
CSS 로 언더라인, 이태릭체(기울림체), 글자 굵기 두께 설정하기 (0) | 2024.11.11 |
CSS 속성 작성하기 - html 내부에 작성하기 (color, font-size) (0) | 2024.11.11 |
CSS 작성 방법 (0) | 2024.11.11 |