The demo showed three CSS locations on a finished card. Here the internal <style> block and external style.css file are ready, but the new gallery notice has no rules yet.
An exhibit card with one inline rule, one internal rule, and an external stylesheet.
color: #7a1fa2; in an inline style attribute on the <h1>.font-size: 18px; in an internal p rule.style.css in <head>.background-color: #eef6ff; on body in style.css.Run the page. The heading has its local style, the paragraph is larger, and the background color is set in style.css. This course's preview injects style.css automatically, even before you add the <link>; step 3 checks the connection a standalone HTML page needs.
You can now recognize the three common ways CSS reaches HTML.
Use <link rel="stylesheet" href="style.css"> for external CSS.