Coding Ninjas Logo

Home > HTML Questions > What is a physical tag and logical tag in HTML?

What is a physical tag and logical tag in HTML?



Answer:

A Physical tag has physical text which is used to tell the browser how to display the text enclosed in the physical tag. Example for the physical tags are: , , Logical tags are used to tell the meaning of the enclosed text in it. The example of the logical tag is …. tag. When we enclose text in Important tag then it tell the browser that enclosed text is more important than other text.


Similar Questions