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

Misleading Citation Example #358

Open
greg-mcmann opened this issue Apr 17, 2023 · 0 comments
Open

Misleading Citation Example #358

greg-mcmann opened this issue Apr 17, 2023 · 0 comments

Comments

@greg-mcmann
Copy link

greg-mcmann commented Apr 17, 2023

The example provided on the page "Citations" incorrectly uses the <cite> tag. Below is the example provided:

??Don’t make something, unless it is both necessary and useful.??
??But if it is both necessary and useful, don't hesitate to make it beautiful.??
-- Shaker lesson

According to the MDN article linked lower on the page, "The <cite> HTML element is used to mark up the title of a cited creative work." Given this description, the example would be more appropriately written as:

Don’t make something, unless it is both necessary and useful.
But if it is both necessary and useful, don't hesitate to make it beautiful.
-- ??The Shaker Design Philosophy??

Now the <cite> element marks the title of the creative work, which respects the semantic meaning of the element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant