Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Stylesheets Code Incorrect or Needs Additional Reference #37699

Open
jfc3-dol opened this issue Jan 17, 2025 · 0 comments
Open

External Stylesheets Code Incorrect or Needs Additional Reference #37699

jfc3-dol opened this issue Jan 17, 2025 · 0 comments
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@jfc3-dol
Copy link

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
@jfc3-dol jfc3-dol added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant