Text Formatting Tags ( underline, bold, superscript, italic, emphasied)
Text formatting tags :- HTML also defines special elements for defining text with a special meaning. HTML uses elements like <b> and <i> for formatting output, like bold or italic text. <b> - Bold text <strong> - Important text <i> - Italic text <em> - Emphasized text <mark> - Marked text <small> - Small text <del> - Deleted text <ins> - Inserted text <sub> - Subscript text <sup> - Superscript text <u>- underline text Example:- <html> <head> <title>Index | HTML Text foramtting tags </title> <head> <body bgcolor="lightblue" text="black"> <!-- example of formatting tags --> <h2>Text formatting Tags</h2> <b> - Bold text</b><br> <strong> - Important text</strong><br> <i> - Italic text</i><br> <em> - Emphasized text</em><br> ...
Comments
Post a Comment