Logical and Physical Tags in HTML

Mon Aug 8, 2022

S P SHARMA CLASSES

Logical Tags:

Logical tags are used to provide information by giving the special importance to the text.

Logical tags list:
• <abbr> Defines the abbreviation of text.
• <acronym> Defines the acronym.
• <address> Contact information of a person or an organization.
• <cite> Defines citation. It displays the text in italic format.
• <code> Defines the piece of computer code.
• <blockquote> Defines a long quotation.
• <del> Defines the deleted text and is used to mark a portion of text which has been deleted from the document.
• <dfn> Defines the definition element and is used to representing a defining instance in HTML.
• <ins> Defines inserted text.
• <kbd> Defines keyboard input text.
• <pre> Defines the block of preformatted text which preserves the text spaces, line breaks, tabs, and other formatting characters which are ignored by web browsers.
• <q> Defines the short quotation.
• <samp> Defines the sample output text from a computer program.
• <strong> Defines strong text i.e. show the importance of the text.
• <var> Defines the variable in a mathematical equation or in the computer program.


Physical Tags:

Physical tags are used to style the content only.

Physical tag lists:
• <sup> Superscript is usually used for showing elements above base-line
• <sub> The subscript is used for alternate baseline.
• <i> An Italic tag is used to define a text with a special meaning.
• <big> Big tag increase the font size by 1 (Note: You can not use the big tag in HTML 5)
• <small> A small tag defines the small text, and it is used while writing copyright.
• <b> Bold increases the importance of the text because bold tag covert the text into bold size.
• <u> It is used to underline the text.
• <tt> Teletype text gives the default font-family which is monospace.
• <strike> It is an editing markup that tells the reader to ignore the text passage



S P SHARMA CLASSES

Launch your GraphyLaunch your Graphy
100K+ creators trust Graphy to teach online
𝕏
S P SHARMA CLASSES 2024 Privacy policy Terms of use Contact us Refund policy