Sie sind auf Seite 1von 2

Internal CSS: internalcss.

html
!
!

<!doctype html>
<html>
<head>
<title>CSS Basics</title>

!
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<style>

.large {font-size:200%}

#padded {padding:50px;}

.lowered {position:relative;top:40px}

</style>

!
</head>

!
<body>

<p class="large">This is some larger text.</p>

<p id="padded">This text has some padding.</p>

<p>This is some <span class="lowered large">large and lowered</span>

text.</p>

!
</body>
</html>

Das könnte Ihnen auch gefallen