Open Weebdora opened 1 month ago
See https://github.com/mdn/content/pull/8519; the removal of the relative URLs section is intentional because there's no compelling reason to prefer one over the other. It mostly depends on what kind of content you are authoring and we believe we aren't in a position to make generalizations. Readers know there are two alternatives and they don't have a tangible difference, so they can use whichever they find most suitable for them. We will not restore it.
As for target
, I think we can link to the element reference when we have the target="_blank"
example, but we shouldn't explain it too much for a learning article.
MDN URL
https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
Target attribute has not been talked about at all. As for relative URLs, there used to be a section explaining why its better to use relative URLs over absolute URLs. However, it is not present anymore.
What did you expect to see?
I believe target attribute is essential to links and there should be a section to explain how it works with different values.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
I think both used to be there as I remember reading about it before the update(s).
MDN metadata
Page report details
* Folder: `en-us/learn/html/introduction_to_html/creating_hyperlinks` * MDN URL: https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks * GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/learn/html/introduction_to_html/creating_hyperlinks/index.md * Last commit: https://github.com/mdn/content/commit/530c1f54e63834411aa38789b1ac82e3831c4dfa * Document last modified: 2024-08-02T08:53:56.000Z