What are logical and physical tags in HTML..?

bold, italic, monospaced, underlined, strike-through, larger, smaller, superscripted, and subscripted text. are physical tags and logical tags, indicate different types of information, most of them are usually rendered in one of just a few ways: italics, bold, or monospace (all characters the same width).
 
Logical tags are used to tell the meaning of the enclosed text. The example of the logical tag is <strong> </strong> tag. When we enclosed text in strong tag then it tell the browser that enclosed text is more important than other text.

Physical text are used to tell the browser that how to display the text enclosed in the physical tag.
Some example of the physical tags are: <b>, <big>, <i>
 
Logical tags are designed to describe the meaning of the enclosed text to the browser. An example of a logical tag is <strong> </ strong> tag. ... <em>: emphasize - Normally it looks like italics
 
Back
Top