<link href="main.css" rel="stylesheet">
-
The HTML external resource
link
specifies the relationship between the current document and an external resource - Usually, links to stylesheet but may also link to icons, such as favicon
- Both
href
andrel
attributes are compulsory - May occur in
body
orhead
(stylesheet is 'body-OK') but not good practice to use inbody