Situation Normal - All Fouled Up Usage

HTML for SNAFU Acronym

when SNAFU means Situation Normal - All Fouled Up

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 SNAFU stands for Situation Normal - All Fouled Up 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/s/Situation-Normal-All-Fouled-Up/" title="Situation Normal - All Fouled Up"
onclick="if (confirm('SNAFU stands for Situation Normal - All Fouled Up')) return false;"
>
<abbr>SNAFU</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 Situation Normal - All Fouled Up, the meaning of the acronym SNAFU, 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/s/Situation-Normal-All-Fouled-Up/" title="Situation Normal - All Fouled Up"
onclick="if (confirm('SNAFU stands for Situation Normal - All Fouled Up')) return false;"
>
<dfn><abbr title="Situation Normal - All Fouled Up">SNAFU</abbr>
</a> is ...(definition of Situation Normal - All Fouled Up)....</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 SNAFU acronym shows the expanded meaning of the acronym):

A SNAFU is ...(definition of "Situation Normal - All Fouled Up")....

If you are creating HTML code that simply expands the acronym then indicate that it is the SNAFU 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/s/Situation-Normal-All-Fouled-Up/" title="Situation Normal - All Fouled Up"
onclick="if (confirm('SNAFU stands for Situation Normal - All Fouled Up')) return false;"
>
<dfn title="SNAFU"><abbr title="Situation Normal - All Fouled Up">SNAFU</abbr></dfn>
</a> it is the abbreviation for Situation Normal - All Fouled Up.</p>

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

When we use the acronym SNAFU it is the abbreviation for Situation Normal - All Fouled Up.

Next: Vocabulary URI 

Home > Index of Terms > Terms starting with "S" > Situation Normal - All Fouled Up Acronym > Usage > HTML

Viewing mobile website page. Switch to WML or Full HTML