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

[HTML Examples] Document metadata ~ link #737

Closed
schalkneethling opened this issue Apr 19, 2018 · 5 comments
Closed

[HTML Examples] Document metadata ~ link #737

schalkneethling opened this issue Apr 19, 2018 · 5 comments
Labels
example needed help wanted If you know something about this, we would love your help! p1 We will address this soon and will provide capacity from our team for it in the next few releases.

Comments

@schalkneethling
Copy link

schalkneethling commented Apr 19, 2018

Need an HTML example for the link element
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link

Contributing

https://github.com/mdn/interactive-examples/blob/master/CONTRIBUTING-HTML.md

@schalkneethling schalkneethling added help wanted If you know something about this, we would love your help! p1 We will address this soon and will provide capacity from our team for it in the next few releases. example needed in sprint labels Apr 19, 2018
@schalkneethling schalkneethling added this to the Quarter 2 ~ Sprint 2 milestone Apr 19, 2018
@Elchi3
Copy link
Member

Elchi3 commented May 8, 2018

Is this really suitable? I'm a bit unsure what demo interactively here. Ideas?

@wbamberg
Copy link
Contributor

wbamberg commented May 8, 2018

Is your point that it's not "interactive" because it's not really possible for the user to edit the linked stylesheet, or even to edit the link href?

I guess that's a reasonable concern, but I think it might still be valuable to show the syntax and basic effect, with something like your <style> example:

<link href="/media/examples/example-style.css" rel="stylesheet">
<!-- 
example-style.css contains:

p {
  color: green;
}
-->

<p>This text will be green.</p>

<p style="color: blue">The <code>style</code> attribute can override it, though.</p>

What do you think? I agree it's not super-useful, but it seems easy enough to include.

@Elchi3
Copy link
Member

Elchi3 commented May 9, 2018

Ah, okay, I haven't realized the media folder yet. I think that would work and I will work on it. Thank you, Will!

@Elchi3 Elchi3 self-assigned this May 9, 2018
@Elchi3 Elchi3 removed their assignment Jul 2, 2018
@stephanmax
Copy link
Contributor

I’m happy to work on this.

@stephanmax
Copy link
Contributor

@wbamberg, this can be closed after PR #1029 got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example needed help wanted If you know something about this, we would love your help! p1 We will address this soon and will provide capacity from our team for it in the next few releases.
Projects
None yet
Development

No branches or pull requests

4 participants