Explain physical and logical tags.
Answers
:
Formatting text by applying styles like bold, italic or underline, is known as applying physical text styles. And such tags are called Physical tag.
For Example, <b>,<u>,<i> and <tt>
:
A logical text style implies that the text has some special meaning. Tags which do so are called logical tags.
For example, <dfn>,<em>,<cite> etc.
Logical tags :-
logical tags, (also called Idiomatic Elements), 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).
Physical Tags :-
The <b> tag is the physical equivalent of the <strong> content-based style tag, but without the latter's extended meaning. The <b> tag explicitly boldfaces a character or segment of text that is enclosed between it and its corresponding end tag ( </b> ).
HOPE IT HELPS YOU !!