abbreviations and address

abbreviations:

<abbr> defines abbreviations and acronym.


<!DOCTYPE html>
<html>
<body>

<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>
</body>
</html>

Output:

The WHO was founded in 1948.

If we hover on WHO it shows world health organisation.

Address:

It is used to write the address in the webpage.

<!DOCTYPE html>
<html>
<body>

<p>The HTML address element defines contact information (author/owner) of a document or article.</p>

<address>
Written by John Doe.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

</body>
</html>

Output:


The HTML address element defines contact information (author/owner) of a document or article.
Written by John Doe. Visit us at: Example.com
Box 564, Disneyland
USA
<br> is used to break the line.

Comments

Popular posts from this blog

Headings In HTML

Introduction and Format of HTML

Font Tag