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