HTML

HTML Formating Elements

Html provides special elements to define the text with special meaning.by using
this we can highlight the text in some part of entire text.
  • <b>: It display the text in bold.
  • <strong>:Whenever we use this then it means that the text is important.however browser will display both <b>and<strong> as same.
  •  <i>: It displays the text in italic format without any importance.
  • <em>: It displays the text in emphasized format.it also looks like italic text but if we use the em element then it means that the text is important.
  • <small>: It defines the smaller text.
  • <mark>: Mark element defines the highlighted text.
  • <del>: It displays the deleted or removed text.When ever we want to display the deleted text to the end-user then we can add < del> tag.               
  • <Mark>: Tag between the text which we want to display.
  • <ins>: It defines the added text.
  • <sub>: It defines the sub scripted text
  • <sup>: It defines the super scripted text. 

EX:

Code:

OUTPUT:

HTML Quotation and Situation Elements:

we have
  1.<q>

  • whenever we want to display some text in quotations then we can add <q> tag which is nothing but quotation tag.
  • Syntax: <q>content goes here......</q>
2.<blockquote>
  • The blockquote element is used to define long quotations.it represents a section that is quoted from another source.
  • Syntax: <blockquote>content goes here...</blockquote>
3.<abbr>
  • It is used to define abbreviation.
  • Note:the usage of <title> attribute and <abbr> (which is displayed with the attribute is paragraph or heading)look like same but the main difference is When we mouse over the particular paragraph or heading then the value of the title attribute will be displayed as a tooltip but  if you mouse over the particular word then the value of abbr will be displayed.
4.<Address>
  •  The address element defines the contact information of a owner.It display
    the text in italic format.
  • Syntax:<address> content goes here........</address>
5.<Cite>
  •  It displays the data in italic format.
6.<bdo>
  •   if we specify this element in between any text then the text will display in right to
    left format.
Here is an example for quotation and citation elements
EX:

OUTPUT: