Skip to content

<link> to stylesheet won't work because of missing xmlns #26883

Closed

Description

@Rolf-B

MDN URL

https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_and_CSS

What specific section or headline is this issue about?

First example

What information was incorrect, unhelpful, or incomplete?

<link> needs xmlns="http://www.w3.org/1999/xhtml" to work, since <link> is not a SVG element. The existing xmlns:xlink in the example is not sufficent.

What did you expect to see?

Either xmlns:xhtml="http://www.w3.org/1999/xhtml" in the SVG element and xhtml:link... to reference the stylesheet, or a local namespace declaration like this:

<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="style8.css" type="text/css" />

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Activity

  1. added
    needs triage
    on May 21, 2023
  2. locked as resolved and limited conversation to collaborators on Jun 1, 2024
  3. removed
    needs triage
    on Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:SVG

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions