DEV Community

Cover image for What is the correct HTML for referring to an external style sheet?
ProgrammerMoney.com
ProgrammerMoney.com

Posted on Edited on

What is the correct HTML for referring to an external style sheet?

TL;DR Summary

Here is the correct HTML for style sheet referral:
[ copy-paste and thank me later :) ]

<link href="style.css" rel="stylesheet" type="text/css" />
Enter fullscreen mode Exit fullscreen mode

Also, make sure you put this line either in the <head> or somewhere near the top of the page like this:

external style sheet code

And this is it.

Until next time,

Will

P.S. check out my Algo-Trading Journey articles

Top comments (0)