External Stylesheets Code Incorrect or Needs Additional Reference #37699
Labels
closed: question
A user misinterpretation or support question. No action required.
Content:Learn
Learning area docs
MDN URL
https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Solve_CSS_problems/CSS_FAQ
What specific section or headline is this issue about?
Why doesn't my CSS, which is valid, render at all?
What information was incorrect, unhelpful, or incomplete?
The article mentioned the reason below for the reasons why CSS might not be applied in this.
To be applied, a CSS stylesheet must be served with a text/css MIME type.
Nowadays, external CSS files use rel="Stylesheet", which is referenced in the MDN article Getting started with CSS page under the heading "External stylesheets".
<link rel="stylesheet" href="styles.css" />
What did you expect to see?
I thought it would mention both or the one that is now the standard.
Do you have any supporting links, references, or citations?
nope
Do you have anything more you want to share?
nope
MDN metadata
Page report details
en-us/learn_web_development/howto/solve_css_problems/css_faq
The text was updated successfully, but these errors were encountered: