Computer Science, asked by ITSManish6478, 10 months ago

Difference between logical tag and physical tag in html

Answers

Answered by surajnegi0600
1

Answer:

In HTML, a logical tag is a tag that describes the meaning or structure of the content it surrounds, while a physical tag describes the presentation or appearance of the content.

Explanation:

For example, the <strong> tag is a logical tag that indicates that the text within it should be displayed as bold, while the <b> tag is a physical tag that also causes the text within it to be displayed as bold.

In general, it is recommended to use logical tags over physical tags because they provide better accessibility, i.e. they make it easier for users who rely on assistive technologies like screen readers to understand the content and navigate the document. Additionally, logical tags allow for greater flexibility in terms of presentation, as the presentation can be changed using CSS without altering the underlying HTML markup.

More questions and answers:

https://brainly.in/question/24341995

https://brainly.in/question/54813460

#SPJ3

Similar questions
Math, 10 months ago