odin-default-css-exercises/foundations/01-css-methods/solution/solution.html

23 lines
658 B
HTML
Raw Normal View History

2021-08-29 23:22:54 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Methods for Adding CSS</title>
<link rel="stylesheet" href="solution.css">
2021-08-29 23:22:54 +00:00
<style>
p {
background-color: green;
color: white;
font-size: 18px;
}
</style>
</head>
<body>
<div>Style me via the external method!</div>
<p>I would like to be styled with the internal method, please.</p>
<button style="background-color: orange; font-size: 18px;">Inline Method</button>
</body>
2021-08-29 23:22:54 +00:00
</html>