A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

CustomData: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(New page: Here are some ideas for how to include custom data in HTML documents. <pre> <span custom:my-thing="50" custom:my-other-thing="4,5,1,2">bla bla</span> </pre> <pre> <span custom-my-thing="...)
 
No edit summary
Line 1: Line 1:
Here are some ideas for how to include custom data in HTML documents.
Here are some ideas for how to include custom data in HTML documents.


== Candidates ==
<pre>
<pre>
<span custom:my-thing="50" custom:my-other-thing="4,5,1,2">bla bla</span>
<span custom:my-thing="50" custom:my-other-thing="4,5,1,2">bla bla</span>
Line 9: Line 10:
</pre>
</pre>


== Rejected ==
<pre>
<pre>
<span><param name=my-thing value="50"><param name=my-other-thing value="4,5,1,2">bla bla</span>
<span><param name=my-thing value="50"><param name=my-other-thing value="4,5,1,2">bla bla</span>
</pre>
</pre>

Revision as of 01:30, 27 March 2008

Here are some ideas for how to include custom data in HTML documents.

Candidates

<span custom:my-thing="50" custom:my-other-thing="4,5,1,2">bla bla</span>
<span custom-my-thing="50" custom-my-other-thing="4,5,1,2">bla bla</span>

Rejected

<span><param name=my-thing value="50"><param name=my-other-thing value="4,5,1,2">bla bla</span>