<div> and <span> can be used together? | Sololearn: Learn to code for FREE!
+ 2

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

?

11th Oct 2020, 8:12 AM
–ö–ł—Ä–ł–Ľ –õ–į–∑–ĺ—Ä–Ķ–Ĺ–ļ–ĺ
–ö–ł—Ä–ł–Ľ –õ–į–∑–ĺ—Ä–Ķ–Ĺ–ļ–ĺ - avatar
5 Respostas
+ 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