Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

propose example element for documentation and other uses #1041

Closed
Nick-Levinson opened this issue Oct 9, 2017 · 2 comments
Closed

propose example element for documentation and other uses #1041

Nick-Levinson opened this issue Oct 9, 2017 · 2 comments

Comments

@Nick-Levinson
Copy link

Nick-Levinson commented Oct 9, 2017

For communicating about HTML, teaching it, or other purposes, with an example that should not cause an actual effect in a user agent, even a user agent programmed for private use, a tag name should be specified for the purpose and HTML should specify it. I propose "example" for an element using either only one tag or two tags.

Case, spacing, and the slash would have the same rules as for other elements.

If there are two tags enclosing content, the content would be processed by a user agent as if those tags were absent.

An analogy is with domain names, such as example.com and *.test.

@chaals
Copy link
Collaborator

chaals commented Oct 10, 2017

Duplicated by #1042

@chaals chaals closed this as completed Oct 10, 2017
@chaals
Copy link
Collaborator

chaals commented Oct 11, 2017

(Well, almost. That requests an attribute instead of element, but I think the two can be readily combined and that the problem is about the same).

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

No branches or pull requests

2 participants