Tutorials

KodeKite Tools

HTML
Flexbox
SVG
Canvas
HTML Tutorial

More


HTML Abbrivated Text
Abbrivated Text

Abbreviation is a formatting element used to define abbreviation. It is used to provide information to viewer, abbrivation text is different from other text because is underlined by dotted line and it defines any acronym.

Syntax

<abbr title=Some information>Content</abbr>
OR
<tag><abbr title=Some information>Content</abbr></tag>


You can apply abbrivation element to any element and use any where within a HTML document.


Example

WHO

Abbr is a pair tag and output of abbr element is dotted underlined text like you can see in above example.


Note:

when you hover over abbr text it will show you information about abbreviation.


Practice Task

Open notepad or any other text editor, follow the following points.


  • Select any Abbrivation
  • Make it abbrivated using <abbr> element

save file with name task.html or task.htm and then open it using any browser and see results.


Solution

CPU