This page demonstrates how CSS (Cascading Style Sheets) is used to style HTML content. CSS separates the presentation of a document from its structure.
This entire box is styled using the .highlight-box class defined in the <style> tags within the <head> section of this HTML document.
.highlight-box
<style>
<head>
This paragraph has inline CSS applied directly to its tag. While convenient for quick tests, it is generally not recommended for large projects as it mixes content with presentation and makes maintenance difficult.
Explore the HTML source code to see how the CSS rules are linked and applied to different elements. You can modify the internal CSS in the <style> block to see immediate changes.