TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML dfn Tag

HTML dfn Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <dfn> tag

HTML <dfn> tag also called as HTML definition tag. It is used to represent the term which is defined within context of definition phrase or sentence in an HTML document. The defining instance term usually the first term in a document.

If a term is contained within the <dfn> element then browser understands that nearby text is the definition of the term.

Syntax

<dfn>Content......... </dfn>

Following are some specifications about the HTML <dfn> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Textual

Example

<!DOCTYPE html>
<html>
<head>
<title>Dfn tag</title>
</head>
<body>
<h2>Example of dfn Tag</h2>
<p><dfn>HTML</dfn> A markup language for Web designing</p>
</body>
</html>
Test it Now

Output:

HTML dfn tag

Using title attribute:

<!DOCTYPE html>
<html>
<head>
<title> Dfn tag</title>
</head>
<body>
<h2>Example of dfn Tag</h2>
<p> <dfn title="Transmission control protocol">TCP</dfn> is one of the main protocol of Internet protocols, used to interconnect network devices over the Internet</p>
</body>
</html>
Test it Now

Output:

HTML dfn tag

Attribute

Tag-specific attribute

Attribute Value Description
title It specifies the definition of the term, and it shows when mouse hover on it.

Global attribute

HTML <dfn> tag supports the global attributes in HTML

Event attribute

HTML <dfn> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<dfn>YesYesYesYesYes
Next TopicHTML dialog tag




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf