HTML Tutorial in Hindi [Part 21] - Difference between div and span

preview_player
Показать описание
In this tutorial i will talk about difference between div and span.

The difference between span and div is that a span element is in-line and usually used for a small chunk of HTML inside a line (such as inside a paragraph) whereas a div (division) element is block-line (which is basically equivalent to having a line-break before and after it) and used to group larger chunks of code. It used to group elements for styling purposes (by using the class or id attributes). A better way to use it when no other semantic element is available.
Рекомендации по теме
Комментарии
Автор

Yaar... bhai aapne kitni acchi tarah se explain kiya hain.. superb explanation bhai🤩

alarsheen
Автор

Outstanding lecture, informative and engaging. Thumbs up! 👍🎥

prafulbhoir
Автор

bahut acche se explain karte ho bhaiya aap

patelking
Автор

video seems good but please work on your audio quality. Thanks

fitsurvivor
visit shbcf.ru