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

The html <center> tag has been deprecated for years, but is still supported by all major browsers. Maybe it's time to un-deprecate this element, and just let it be a feature again. #34572

Closed
AspieSoft opened this issue Jul 2, 2024 · 1 comment
Labels
closed: wontfix Out of scope, too much effort, or working as intended Content:HTML Hypertext Markup Language docs

Comments

@AspieSoft
Copy link

AspieSoft commented Jul 2, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center

What specific section or headline is this issue about?

The html <center> tag has been deprecated for years, but is still supported by all major browsers. Maybe it's time to un-deprecate this element, and just let it be a feature again.

What information was incorrect, unhelpful, or incomplete?

The html <center> tag has been deprecated for years, but is still supported by all major browsers. Maybe it's time to un-deprecate this element, and just let it be a feature again.

If the feature works, then why not just keep it as an option. It was removed because it's technically a css thing. That just sounds like someone being overly picky. Should we deprecate C++ because rust is better? Just because css has a text-align feature, does not mean that the html tag needs to be removed.

JSX is not technically an html thing either, but we still use it.

What did you expect to see?

html <center> tag not deprecated because its still been supported by all major browsers for many years now. Its clearly not going anywhere.

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

https://caniuse.com/mdn-html_elements_center

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@AspieSoft AspieSoft added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 2, 2024
@github-actions github-actions bot added the Content:HTML Hypertext Markup Language docs label Jul 2, 2024
@Josh-Cena
Copy link
Member

Thanks. We have a very well-established guideline for considering things deprecated: https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines/Experimental_deprecated_obsolete

For <center>, it's listed in the HTML spec: https://html.spec.whatwg.org/multipage/obsolete.html#center

Elements in the following list are entirely obsolete, and must not be used by authors:

If you want to see it undeprecated, first ask the HTML spec to do so.

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2024
@Josh-Cena Josh-Cena added closed: wontfix Out of scope, too much effort, or working as intended and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: wontfix Out of scope, too much effort, or working as intended Content:HTML Hypertext Markup Language docs
Projects
None yet
Development

No branches or pull requests

2 participants