2021-08-29 23:22:54 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2022-01-30 17:56:35 +00:00
|
|
|
<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
|
|
|
|
2022-01-30 17:56:35 +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>
|