HTML Phrase tagThe HTML phrase tags are special purpose tags, which defines the structural meaning of a block of text or semantics of text. Following is the list of phrase tags, some of which we have already discussed in HTML formatting.
1. Text Abbreviation tagThis tag is used to abbreviate a text. To abbreviate a text, write text between <abbr> and </abbr> tag. ExampleTest it NowOutput: 2. Marked tag:The content written between <mark> and </mark> tag will show as yellow mark on browser. This tag is used to highlight a particular text. ExampleTest it NowOutput: 3. Strong text:This tag is used to display the important text of the content. The text written between <strong> and </strong> will be displayed as important text. ExampleTest it NowOutput: 4. Emphasized textThis tag is used to emphasize the text, and displayed the text in italic form. The text written between <em> and </em> tag will italicized the text. ExampleTest it NowOutput: 5. Definition tag:When you use the <dfn> and </dfn> tags, it allow to specify the keyword of the content. Following is the example to show how to definition element. ExampleTest it NowOutput: 6. Quoting text:The HTML <blockquote> element shows that the enclosed content is quoted from another source. The Source URL can be given using the cite attribute, and text representation of source can display using <cite> ..... </cite>element. ExampleTest it NowOutput: 7. Short Quotations:An HTML <q> ....... </q> element defines a short quotation. If you will put any content between <q> ....... </q>, then it will enclose the text in double quotes. Example:Test it NowOutput: 8. Code tagsThe HTML <code> </code> element is used to display the part of computer code. It will display the content in monospaced font. Test it NowOutput: 9. Keyboard TagIn HTML the keyboard tag, <kbd>, indicates that a section of content is a user input from keyboard. Test it NowOutput: 10. Address tagAn HTML <address> tag defines the contact information about the author of the content. The content written between <address> and </address> tag, then it will be displayed in italic font. Test it NowOutput:
Next TopicHTML Anchor
|