+ 2

<div> and <span> can be used together?

?

11th Oct 2020, 8:12 AM
Кирил Лазоренко
Кирил Лазоренко - avatar
5 ответов
+ 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
11th Oct 2020, 8:14 AM
</𝚜𝚌𝚘𝚛𝚙𝚒𝚘𝚗>
</𝚜𝚌𝚘𝚛𝚙𝚒𝚘𝚗> - avatar
+ 4
You can use span inside div
11th Oct 2020, 8:13 AM
Abhay
Abhay - avatar
+ 2
Yes
11th Oct 2020, 8:14 AM
Кирил Лазоренко
Кирил Лазоренко - avatar
+ 1
Thanks 👍
11th Oct 2020, 8:15 AM
Кирил Лазоренко
Кирил Лазоренко - avatar
11th Oct 2020, 8:16 AM
</𝚜𝚌𝚘𝚛𝚙𝚒𝚘𝚗>
</𝚜𝚌𝚘𝚛𝚙𝚒𝚘𝚗> - avatar