HTML span tag vs div tag Explained in Hindi/Urdu | Lecture 7

Channel:
Subscribers:
1,270
Published on ● Video Link: https://www.youtube.com/watch?v=kfdpBxK6MiI



Duration: 6:24
64 views
10


In HTML Both the tags (div and span) are used to represent the part of the webpage, the div tag is used as the block part of the webpage and the span tag is used as a inline
The div tag is known as the Division tag. The div tag is used in HTML to make divisions of content on the web page (text, images, header, footer, navigation bar, etc). As we know Div tag is a block-level tag the div tag contains the entire width. It will be displayed a div tag each time on a new line, not on the same line.
The HTML span element is a generic inline container for inline elements and content. It is used to group elements for styling purposes (by using the class or id attributes). A better way to use it is when no other semantic element is available. The span tag is very similar to the div tag, but div is a block-level tag and span is an inline tag.

Check the previous video: How to make a form in HTML?
https://youtu.be/Ub8xlxdvkCg

check the videos: Learn different types of Inputs in HTML5.
https://youtu.be/-0TnD3jbVU8

Visit the playlist of Web Development Course:
https://www.youtube.com/playlist?list=PL0F7AbhVrLlmgd0SNx5JuWMDeIZG7H2tP



#html5 #webdevelopment #css







Tags:
html
dive into coding world
coding world
how to
html5
web development
html5 course for beginners in hindi
css
div
html tutorial
div tag
html div tag
div vs span
display values in html
use div and span in html
span tag in html
div tag in html
html in hindi
html5 in hindi
html5 for beginners
learn html
html tutorial for beginners
div tag in hindi
span tag in hindi
div tag in urdu
span tag in urdu
html5 complete course in urdu
div and span elements