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

[files/en-us/web/html/element/img/index.md] Reflect that <img> tags autoclose #22508

Closed
wants to merge 1 commit into from

Conversation

SamuelMarks
Copy link

Description

See w3 Nu HTML Checker for verification, I get this Info level issue when I explicitly autoclose my img tags:
https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements#trailing-slashes-in-void-element-start-tags-do-not-mark-the-start-tags-as-self-closing

Motivation

MDN examples should pass the w3 validator without erring.

Additional details

Test it out here https://validator.w3.org/nu

Related issues and pull requests

@SamuelMarks SamuelMarks requested a review from a team as a code owner November 24, 2022 05:07
@SamuelMarks SamuelMarks requested review from estelle and removed request for a team November 24, 2022 05:07
@github-actions github-actions bot added the Content:HTML Hypertext Markup Language docs label Nov 24, 2022
@Josh-Cena
Copy link
Member

Please see mdn/mdn-community#242. Until we reach consensus there, we would not deviate from Prettier's style.

@Josh-Cena Josh-Cena closed this Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTML Hypertext Markup Language docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants