Peer To Peer Usage

HTML for P2P Acronym

when P2P means Peer To Peer

New! Now updated with the inheritance rules for the title attribute in HTML 5

The easiest way to create HTML code indicating that the acronym P2P stands for Peer To Peer is to simply include the acronym in an HTML <a> tag and an abbreviation tag (not an acronym tag):

<a href="http://www.Acronyms.net/terms/p/Peer-To-Peer/" title="Peer To Peer"
onclick="if (confirm('P2P stands for Peer To Peer')) return false;"
>
<abbr>P2P</abbr>
</a>

This is the recommended code for both HTML 4 browsers and HTML 5 browsers. Some browsers, most notably IE, do not activate help when the title attribute is coded on the <abbr> tag, but they do work as expected for titles on the <a> tag. The <abbr> tag inherits its title attribute from the parent <a> tag.

If you are creating HTML code for the definition of Peer To Peer, the meaning of the acronym P2P, then include a <dfn> definition tag around the <abbr> abbreviation tag and follow the entire HTML code for the hypertext link with the definition of the term:

<p>A <a href="http://www.Acronyms.net/terms/p/Peer-To-Peer/" title="Peer To Peer"
onclick="if (confirm('P2P stands for Peer To Peer')) return false;"
>
<dfn><abbr title="Peer To Peer">P2P</abbr>
</a> is ...(definition of Peer To Peer)....</p>

The <dfn> tag gets the term being defined from the title attribute of the <abbr> tag. The result should look like this (hovering your mouse over the P2P acronym shows the expanded meaning of the acronym):

A P2P is ...(definition of "Peer To Peer")....

If you are creating HTML code that simply expands the acronym then indicate that it is the P2P acronymn which is being defined using an HTML <dfn> tag with a title attribute around the <abbr> tag and follow the HTML for the hypertext link with the acronym definition:

<p>When we use the acronym <a href="http://www.Acronyms.net/terms/p/Peer-To-Peer/" title="Peer To Peer"
onclick="if (confirm('P2P stands for Peer To Peer')) return false;"
>
<dfn title="P2P"><abbr title="Peer To Peer">P2P</abbr></dfn>
</a> it is the abbreviation for Peer To Peer.</p>

The result should look like this (hovering your mouse over the P2P acronym shows the definition):

When we use the acronym P2P it is the abbreviation for Peer To Peer.

Next: Vocabulary URI 

Home > Index of Terms > Terms starting with "P" > Peer To Peer Acronym > Usage > HTML

Viewing mobile website page. Switch to WML or Full HTML