concept
External stylesheet
A linked CSS resource can style several HTML pages. Resolve the href relative to the document base URL. Check loading failures, path spelling and stylesheet association before debugging its declarations.
Formal Syntax & Structure
css syntaxcss
<link rel="stylesheet" href="theme.css">Working Example
Example Snippetcss
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>External CSS</title><link rel="stylesheet" href="theme.css"></head><body><p id="sample">A field note from the coast.</p></body></html>