re: Those silly mistakes we all make VIEW POST


I sometimes mix up the href and src in the link tag in html.
<link rel="stylesheet" type="text/css" src="theme.css">
instead of
<link rel="stylesheet" type="text/css" href="theme.css">
and it has taken me and colleagues several refreshes to figure out in the past.

"The css file is there. Why isn't it loading? Did you clear the cache? Did you restart the laptop? Did you check the URL?..."


I feel that pain. HTML is both forgiving ("the page still loaded") and brutal ("but it didn't work and I don't know why") at the same time.


I just learn css/html few weeks ago, and this is hurt when it happens

Code of Conduct Report abuse