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

Section 4.3.10 example #6338

Open
NicoleSharp opened this issue Jan 29, 2021 · 2 comments
Open

Section 4.3.10 example #6338

NicoleSharp opened this issue Jan 29, 2021 · 2 comments

Comments

@NicoleSharp
Copy link

NicoleSharp commented Jan 29, 2021

In the last example for Section 4.3.10 ("The Address Element"), shouldn't the line "For more details, contact" be outside of (before) the ADDRESS element? The specification states that "The address element must not contain information other than contact information."

Original example:

<footer>
<address>
For more details, contact
<a href="mailto:js@example.com">John Smith</a>.
</address>
<p><small>© copyright 2038 Example Corp.</small></p>
</footer>

Corrected example:

<footer>
<p>
For more details, contact:
<address><a href="mailto:js@example.com">John Smith</a></address>
</p>
<p><small>© copyright 2038 Example Corp.</small></p>
</footer>

Also, the SMALL element should probably be removed from the example, since it is deprecated in favor of CSS.

@annevk
Copy link
Member

annevk commented Jan 29, 2021

I'm not sure I would classify "For more details, contact" as separate information from the email address. It's just context for that information. This might be worth clarifying.

The small element isn't deprecated. It's (re)defined as

The small element represents side comments such as small print.

@NicoleSharp
Copy link
Author

NicoleSharp commented Jan 29, 2021

It might just be a question of whether contextual and instructional information relating to the actual contact data should be included in the ADDRESS element. For example:

<address>Don't email this author: <a href="mailto:js@example.com">John Smith</a>.<address>
<address>Email this author instead: <a href="mailto:as@example.com">Amy Smith</a>.<address>

Not sure if that would be correct either. Step-by-step driving instructions, including where not to turn, might be appropriate though.

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

No branches or pull requests

3 participants