Table of Contents

Stylesheet

Internal

HtmlPageWithStyle.html
<!DOCTYPE html>
<html>
<head>
    <title>CSS3 Basic</title>
    <style>
        h1 {
            color: white;
            background: black;
        }
    </style>
</head>
<body>
    <h1>Hello World..!</h1>
</body>
</html>

External

style.css
h1 {
  color: white;
  background: black;
}

Style sheet 적용 (style.css)

PageWithStyleLink.html
<!DOCTYPE html>
<html>
<head>
    <title>External Stylesheet Basic</title>
    <link rel="stylesheet" href="Style.css" />
</head>
<body>
    <h1>Hello CSS .. !</h1>
</body>
</html>