differentiate between block level elements and text level elements
Answers
Answered by
7
Answer:
Difference between block level and text level elements
Block Level
Block level elements start with a newline and take up the full width available.
<div>, <article>, <aside>, <nav>, <video>, <ol>, <section>, <table>, <ul>, <footer>, <form>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6> are block level elements.
Inline/Text Level
Inline/Text level elements do not start with a newline and take up the necessory width.
<span>, <a>, <br>, <button>, <em>, <i>, <img>, <strong>, <sub>, <sup> are Inline/Text level elements.
More Question:
HTML Meaning , What is html?
brainly.in/question/643321
Answered by
4
A block-level element always starts on a new line and takes up the full width of a page, from left to right. A block-level element can take up one line or multiple lines and has a line break before and after the element.
Other examples of the block-level tag are:
Heading tags to
List (Ordered, Unordered, Description and List Item) tags
Other examples of the block-level tag are:
Heading tags to
List (Ordered, Unordered, Description and List Item) tags
- ,
- ,
- ,
Pre-formatted text tag
Blockquote tag
Visually,
There doesn’t have to be a space between each element wrapped with a span tag as shown above.
The element is usually used as a container for other HTML elements and to separate them for the rest. The element is an unstyled tag, in other words, using it does not change the look of an HTML element. Also, it has no required attribute.
Similar questions