How to Use CSS in HTML ---------------------- This file shows you how to use CSS in your HTML files. 1. Internal CSS (using the

This is a heading

This is a paragraph styled with internal CSS.

2. Inline CSS (using the style attribute directly):

This is a paragraph with inline CSS.

3. External CSS (linking to a .css file): /* In your style.css file: */ body { background-color: #f0f0f0; } h1 { color: purple; } ---------------------- Tip: Use classes and IDs for more control and to avoid repeating styles. ----------------------