Difference between block level elements and inline elements
Answers
Answered by
0
Block-Level and Inline Elements: Thedifference between <div> and <span> ... In summary, a <span> element is used as an inline element and a <div>element as a block level element. Thedifference between the two elementsis a commonly misunderstood concept of web design but it does not have to be!
sahiln484:
i want brief about these
Answered by
0
Answer:
BLOCK LEVEL ELEMENTS :-Block level elements always starts on a new line and takes up full width available !Examples -<h1>, <form>, <li>,<ol>, <ul> , <p>, <pre>, <table>, <div> etc.
INLINE ELEMENTS :-Inline element doesn't start on a new line and it only takes up as much width as necessary !Example -<b>, <a>, <strong>, <em>, <img>, <span>, <input> etc.
Similar questions
Computer Science,
7 months ago
Math,
7 months ago
Biology,
1 year ago
Science,
1 year ago
English,
1 year ago