Pages

Wednesday, August 26, 2009

<acronym> Tag in HTML , Has Easy but cool function

Acronym is a words made out of a Large words or simply acronym is an abbreviated word for an absurd/simple sentence, company or IDK. of something, use it for abbreviation of something you want in your code, in the example below - NASA's example is given.

Cool thing about this tag is, WHEN YOU HOVER OVER YOUR MOUSE ON THE WORD YOU ACRONYMED [the text/link you see - visible] the whole text is displayed on the word.

Format of <acronym> tag is </acronym> - you saw it <acronym> ... </acronym> - When you put the word title in it then it becomes more clear to your browser and other programs what this tag of text you wrote is all about. Browser can interpret and see it better then.

Like every tag you use in your code makes the code. Likewise, some tags are used that helps your browsers, spellcheckers and different type of programs to understand what kind of code you wrote.

Remember, it's a computer, it's codes you are writing you give the LANGUAGE to your Code/Computer and HTML here.

The Code you need to copy


<html>
<head><title>This ACRONYM understanding - Open your mind - NUFFF respect</title></head>
<body>

This is acronym of <acronym title="National Aeronautics and Space Administration">NASA</acronym><br/>and when you move your mouse over NASA[the previous dotted one] it shows a small skin color box telling you what you wrote in Title
<b>Acronym made a HyperLink here in the code below</b>
<br/><a href="http://science.nasa.gov/"<acronym title="National Aeronautics and Space Administration">NASA</acronym></a>

</body>
</html>


Output/Final Display would like this


This is acronym of NASA and when you move your mouse over NASA[the previous dotted one] it shows a small skin color box telling you what you wrote in Title
Acronym made a HyperLink here in the code below
NASA

For more information on whether it supports the new browsers then Yes, but for more information on using more attributes and stuff here you go:

w3schools.com/tags/tag_acronym.asp
quackit.com/html/tags/html_acronym_tag.cfm
hyperwrite.com/Articles/showarticle.aspx?id=35
html-tips.net/html-tags/acronym-tag.html
htmlquick.com/reference/tags/acronym.html
w3.org/TR/html401/struct/text.html
html-tips.net/html-tags/acronym-tag.html
Secret Sentence for the person writing only: AWTEATLWO

No comments:

Post a Comment