odin-css-exercises/foundations/01-css-methods/solution/solution.html
2021-08-29 19:22:54 -04:00

23 lines
No EOL
620 B
HTML

<!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">
<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>
</html>