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 could be modified
to include a mailto:
link, but each fragment
includes a class
name that tells create-mailto.js to ignore it.
The second column shows your browser's rendering of that fragment after
create-mailto.js has processed the document.
The test passes if table contains no
<a href="mailto:">
links.
HTML code fragment | browser rendering |
---|---|
<span class="ignore-create-mailto email">username@example.com</span>
|
username@example.com |
<p class="ignore-create-mailto email foo">username@example.com</p>
|
username@example.com |
<b class="ignore-create-mailto" itemprop="email">username@example.com</b>
|
username@example.com |
<span itemprop="email foo">username@example.com</span>
|
username@example.com |
<em
class="ignore-create-mailto" data-email="username@example.com">email
me</em>
|
email me |
<span class="ignore-create-mailto email
foo"><i>username</i>@example.com</span>
|
username@example.com |
<p class="ignore-create-mailto" itemprop="email
foo"><i>username</i>@example.com</p>
|
username@example.com |
|
email me
|
<img class="ignore-create-mailto" data-email="username@example.com" ... >
|
![]() |
|
|
|