In HTML, a Phrase tags is a tag that is used to apply formatting or styling to a specific phrase or word within a larger block of text. Some common Phrase tags in HTML include:
Here are some examples of HTML phrase tags and their usage:
This is a strong word.
Output: This is a strong word.
The <strong> tag is used to make the word “strong” bold.
This is an emphasized word.
Output: This is an emphasized word.
The <em> tag is used to make the word “emphasized” italicized.
This is a highlighted word.
Output: This is a <mark>highlighted</mark> word.
The <mark> tag is used to highlight the word “highlighted” with a yellow background.
This is deleted text.
The <del> tag is used to indicate text that has been deleted or removed.
This is inserted text.
Output: This is <u>inserted</u> text.
The <ins> tag is used to indicate text that has been inserted or added.
This is asubscript word.
The <sub> tag is used to make the word “subscript” subscripted.
This is asuperscript word.
Output: This is a^superscript^ word.
The <sup> tag is used to make the word “superscript” superscripted.
8.<cite> tag:
The study found that there is a significant correlation between sleep deprivation and decreased cognitive function (Smith et al., 2018).
Output: The study found that there is a significant correlation between sleep deprivation and decreased cognitive function (Smith et al., 2018).
The <cite> tag is used to indicate the title of a work, such as a book, article, or website, that is being cited within the text. It is commonly used in combination with other HTML tags, such as the <p> tag for paragraphs, to create properly formatted citations within a web page.
9.<abbr> tag:
The <abbr> tag is used to indicate an abbreviation or acronym. The full form of the abbreviation can be provided as the title attribute of the tag. For example:
The WHO is a specialized agency of the United Nations.
Output: The WHO is a specialized agency of the United Nations.
10.<q> tag:
The <q> tag is used to enclose short quotations. For example:
The philosopher Aristotle once said, Quality is not an act, it is a habit.
Output: The philosopher Aristotle once said, “Quality is not an act, it is a habit.”
11.<dfn> tag:
The <dfn> tag is used to indicate a definition of a term. The term being defined can be provided as the title attribute of the tag. For example:
JavaScript is used to create interactive web pages.
Output: JavaScript is used to create interactive web pages.
12.<code> tag:
The <code> tag is used to enclose code snippets or programming code. For example:
To display the current date in JavaScript, you can use the following code: var currentDate = new Date(); document.write(currentDate);
Output: To display the current date in JavaScript, you can use the following code: var currentDate = new Date(); document.write(currentDate);
Learners TV is a website that is designed to educate users and provide instructional material on particular subjects and topics.