+ 2
<div> and <span> can be used together?
?
5 Answers
+ 1
Both <div> and <span> is used to define parts of a web page. The <span> element shows the inline portion of a document. ... A div is a block-level element and a span is an inline element. The div should be used to wrap sections of a document, while use spans to wrap small portions of text, images, etc
+ 4
You can use span inside div
+ 2
Yes
+ 1
Thanks 👍
+ 1
Кирил Лазоренко welcome