User Tools

Site Tools


css

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>
css.txt · Last modified: 2015/03/09 13:29 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki