<!doctype html> <html> <head> <title>Example 1-3</title> <style> h2 { color: darkorange; } </style> <link rel="stylesheet" type="text/css" href="1-3.css"> </head> <body> <h2 style="color: fuchsia">Inline stylesheet</h2> <hr> <h2>Embedded stylesheet</h2> <hr> <h2 class="red">External stylesheet</h2> </body> </html>
.red { color: red; }