AlphaGamer150 AlphaGamer150 - 1 month ago 6
CSS Question

HTML/CSS Stylesheet won't work

Im probably missing something relay obvious but why won't this code work?

<link type="stylesheet" href="css/main.css">

Basicly im trying to get a stylesheet that is called main.css in a folder called css.

I don't know why it won't work so please help me!


Wrong syntax:

<link rel="stylesheet" type="text/css" href="css/main.css" />
      ^^^              ^^^^

Note the attributes...