Skip to content

Improves the explanation for the application-name metadata #39584

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ajuchacko
Copy link
Contributor

@ajuchacko ajuchacko commented May 20, 2025

Description

Adds an example on providing localized application-name using the lang attribute.

Link to specification - application-name

@ajuchacko ajuchacko requested a review from a team as a code owner May 20, 2025 10:38
@ajuchacko ajuchacko requested review from estelle and removed request for a team May 20, 2025 10:38
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed labels May 20, 2025
Copy link
Contributor

github-actions bot commented May 20, 2025

Preview URLs

(comment last updated: 2025-05-20 10:42:04)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Member

@estelle estelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The additions are good. Just suggestions on how to rearrange it.

@@ -13,7 +13,15 @@ The {{htmlelement("meta")}} element can be used to provide document metadata in

The HTML specification defines the following set of standard metadata names:

- `application-name`: the name of the application running in the web page.
- `application-name`: the name of the application running in the web page. Only use this if the page is a web application. To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language:

@@ -13,7 +13,15 @@ The {{htmlelement("meta")}} element can be used to provide document metadata in

The HTML specification defines the following set of standard metadata names:

- `application-name`: the name of the application running in the web page.
- `application-name`: the name of the application running in the web page. Only use this if the page is a web application. To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "Only use this if the page is a web application." is kind of in the note following this, so let's edit the note with this instead.

Suggested change
- `application-name`: the name of the application running in the web page. Only use this if the page is a web application. To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
- `application-name`: the name of the application running in the web page.
To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
Suggested change
- `application-name`: the name of the application running in the web page. Only use this if the page is a web application. To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
- `application-name`: the name of the application running in the web page.

then edit note.

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 size/s [PR only] 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants