This page tests create-mailto.js on different
HTML
fragments. The table below contains one example per row.
The first column shows a code fragment that can be modified
to include a mailto:
link. The second
shows your browser's rendering of that fragment after
being processed by create-mailto.js.
The test passes if each row contains one
<a href="mailto:">
link.
HTML code fragment | browser rendering |
---|---|
<span class="email">username@example.com</span>
|
username@example.com |
<p class="email foo">username@example.com</p>
|
username@example.com |
<b itemprop="email">username@example.com</b>
|
username@example.com |
<span itemprop="email foo">username@example.com</span>
|
username@example.com |
<em
data-email="username@example.com">email
me</em>
|
email me |
<span class="email
foo"><i>username</i>@example.com</span>
|
username@example.com |
<p itemprop="email
foo"><i>username</i>@example.com</p>
|
username@example.com |
|
email me
|
<img data-email="username@example.com" ... >
|
![]() |
|
|
|