166k views
4 votes
What is the significance of block-level and inline tags?

1 Answer

5 votes

Final answer:

Block-level and inline tags are used in HTML to format and structure web page content.

Step-by-step explanation:

Block-level and inline tags are both used in HTML to format and structure the content of a web page. Block-level tags create a new line and take up the entire width of the containing element. Examples of block-level tags include <p>, <div>, and <h1>. Inline tags, on the other hand, do not create a new line and only take up the necessary space to display the content. Examples of inline tags include <span>, <strong>, and <em>.

User Maniruzzaman Akash
by
8.6k points