{"id":9264,"date":"2022-10-06T03:56:18","date_gmt":"2022-10-06T03:56:18","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=9264"},"modified":"2022-10-06T03:56:18","modified_gmt":"2022-10-06T03:56:18","slug":"html-tag-3","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/10\/06\/html-tag-3\/","title":{"rendered":"HTML <abbr> Tag"},"content":{"rendered":"\n<p>The browser renders the characters inside the&nbsp;&lt;abbr&gt;&nbsp;tag as an abbreviation or an acronym. To decipher the abbreviation, the global&nbsp;title&nbsp;attribute is used (displayed as a pop-up text prompt when you hover the mouse over the abbreviation).<\/p>\n\n\n\n<p>The content of the&nbsp;&lt;abbr&gt;&nbsp;tag in some browsers can be marked with a dotted underscore.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"syntax-2\">Syntax<\/h2>\n\n\n\n<p>The&nbsp;&lt;abbr&gt;&nbsp;tag comes in pairs. The content is written between the opening (&lt;abbr&gt;) and closing (&lt;\/abbr&gt;) tags.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"example-of-the-html-span-class-tag-lt-abbr-gt-span-tag-4\">Example of the HTML&nbsp;&lt;abbr&gt;&nbsp;tag:<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n  &lt;head&gt;\n    &lt;title&gt;Title of the document&lt;\/title&gt;\n  &lt;\/head&gt;\n  &lt;body&gt;\n    &lt;p&gt;&lt;abbr title=\"Universal Resource Locator\"&gt;URL&lt;\/abbr&gt; - This is a special form of designating an individual resource address on the Internet &lt;\/p&gt;\n  &lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"result-6\">Result<\/h3>\n\n\n\n<p>URL&nbsp;&#8211; This is a special form of designating an individual resource address on the Internet.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>(hover your mouse over the abbreviation).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"attributes-8\">Attributes<\/h2>\n\n\n\n<p>The\u00a0&lt;abbr>\u00a0tag supports the\u00a0Global Attributes\u00a0and the\u00a0Event Attributes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to style &lt;abbr&gt; tag?<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Common properties to alter the visual weight\/emphasis\/size of text in &lt;abbr&gt; tag:<\/h3>\n\n\n\n<ul><li>CSS font-style\u00a0property sets the style of the font. normal | italic | oblique | initial | inherit.<\/li><li>CSS font-family\u00a0property specifies a prioritized list of one or more font family names and\/or generic family names for the selected element.<\/li><li>CSS font-size\u00a0property sets the size of the font.<\/li><li>CSS font-weight\u00a0property defines whether the font should be bold or thick.<\/li><li>CSS text-transform\u00a0property controls text case and capitalization.<\/li><li>CSS text-decoration\u00a0property specifies the decoration added to text, and is a shorthand property for text-decoration-line, text-decoration-color, text-decoration-style.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Coloring text in &lt;abbr&gt; tag:<\/h3>\n\n\n\n<ul><li>CSS color\u00a0property describes the color of the text content and text decorations.<\/li><li>CSS background-color\u00a0property sets the background color of an element.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Text layout styles for &lt;abbr&gt; tag:<\/h3>\n\n\n\n<ul><li>CSS text-indent\u00a0property specifies the indentation of the first line in a text block.<\/li><li>CSS text-overflow\u00a0property specifies how overflowed content that is not displayed should be signalled to the user.<\/li><li>CSS white-space\u00a0property specifies how white-space inside an element is handled.<\/li><li>CSS word-break\u00a0property specifies where the lines should be broken.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Other properties worth looking at for &lt;abbr&gt; tag:<\/h3>\n\n\n\n<ul><li>CSS text-shadow\u00a0property adds shadow to text.<\/li><li>CSS text-align-last\u00a0property sets the alignment of the last line of the text.<\/li><li>CSS line-height\u00a0property specifies the height of a line.<\/li><li>CSS letter-spacing\u00a0property defines the spaces between letters\/characters in a text.<\/li><li>CSS word-spacing\u00a0property sets the spacing between words.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The browser renders the characters inside the&nbsp;&lt;abbr&gt;&nbsp;tag as an abbreviation or an acronym. To decipher the abbreviation, the global&nbsp;title&nbsp;attribute is used (displayed as a pop-up text prompt when you hover the mouse over the abbreviation). The content of the&nbsp;&lt;abbr&gt;&nbsp;tag in some browsers can be marked with a dotted underscore. Syntax The&nbsp;&lt;abbr&gt;&nbsp;tag comes in pairs. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[529],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/9264"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=9264"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/9264\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=9264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=9264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=9264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}