﻿1
00:00:00,450 --> 00:00:01,060
‫Hey, there.

2
00:00:01,110 --> 00:00:01,830
‫Welcome back.

3
00:00:02,310 --> 00:00:07,320
‫Now in this lecture, let us understand how you divide stuff into multiple parts.

4
00:00:07,830 --> 00:00:11,700
‫So basically, we are going to discuss about division now here.

5
00:00:11,940 --> 00:00:18,570
‫This topic is also referred towards blog and inline elements, so it's a mixed topic and we are going

6
00:00:18,570 --> 00:00:21,030
‫to understand two or three different concepts.

7
00:00:21,720 --> 00:00:27,180
‫Now, usually this topic is thought leader in the cause, but if you can understand this right now,

8
00:00:27,240 --> 00:00:28,800
‫this is going to work pretty well.

9
00:00:29,700 --> 00:00:31,920
‫So let me add some random content.

10
00:00:31,920 --> 00:00:33,750
‫Let me add some paragraph.

11
00:00:34,870 --> 00:00:40,330
‫Just use a good number of content so I can just play around with a lot of things.

12
00:00:44,200 --> 00:00:51,880
‫Eric, I see this one and get back to our page here, you can see we have a heading and then we have

13
00:00:52,000 --> 00:00:53,050
‫all these content.

14
00:00:54,270 --> 00:01:01,430
‫So if I want to divide stop, if I want to divide stuff into multiple division, I need to use something

15
00:01:01,440 --> 00:01:04,040
‫and that's where they've come into picture this.

16
00:01:05,160 --> 00:01:07,680
‫So suppose I want to keep them together.

17
00:01:07,880 --> 00:01:10,830
‫Now there can be certain reasons to keep them together.

18
00:01:11,100 --> 00:01:18,420
‫Maybe I want to have same color for this paragraph, or maybe I want to have different styling for them,

19
00:01:18,570 --> 00:01:21,240
‫or maybe I want to have different forms for them.

20
00:01:21,720 --> 00:01:27,570
‫So if I want to keep them together in a particular section, I'm going to use their tag.

21
00:01:28,080 --> 00:01:33,560
‫So what I'm going to do is in and disclose here.

22
00:01:34,410 --> 00:01:41,580
‫So this is basically going to create a new division and inside this new division, we are going to store

23
00:01:41,760 --> 00:01:42,540
‫both of them.

24
00:01:43,560 --> 00:01:50,340
‫In simple words, as I said at the start of this lecture, we have discussed about block and in line

25
00:01:50,340 --> 00:01:50,760
‫element.

26
00:01:50,880 --> 00:01:53,610
‫So this basically create a new block.

27
00:01:54,300 --> 00:01:57,480
‫If I jump back here, things remain the same.

28
00:01:58,200 --> 00:02:06,490
‫But if I now click on inspect and head, if I get into my body and how do you see this is inside you?

29
00:02:07,380 --> 00:02:09,960
‫And here we have these two paragraphs.

30
00:02:10,950 --> 00:02:13,440
‫So this is pretty important for you to understand.

31
00:02:13,710 --> 00:02:15,390
‫Now we can do anything with this.

32
00:02:15,840 --> 00:02:18,360
‫We can add specific property.

33
00:02:18,660 --> 00:02:21,420
‫We can do anything, basically in short terms.

34
00:02:22,050 --> 00:02:26,010
‫Now this is known as block level because we are covering entire block.

35
00:02:26,040 --> 00:02:27,660
‫That's the basic definition.

36
00:02:28,170 --> 00:02:35,520
‫What there is in line level also, that means that will not affect the entire block, but only the town

37
00:02:35,520 --> 00:02:36,510
‫that we have selected.

38
00:02:36,520 --> 00:02:42,540
‫So here, if I need to do certain styling or so I've been grouping or these two or three word only,

39
00:02:42,810 --> 00:02:45,240
‫what I can do is I can use span.

40
00:02:50,220 --> 00:02:53,940
‫If I save this one, everything is going to remain same now.

41
00:02:54,270 --> 00:02:58,500
‫But these keywords are grouped together in the form of spam.

42
00:02:58,770 --> 00:03:00,990
‫If I click here, click on Inspect.

43
00:03:01,530 --> 00:03:08,490
‫And if I just jump inside this, be here, we have this text, then we have the spam and then the remaining

44
00:03:08,490 --> 00:03:08,880
‫text.

45
00:03:09,810 --> 00:03:11,340
‫So this is pretty important.

46
00:03:11,640 --> 00:03:17,700
‫Now, if I want to apply any specific property to these three, all I have to do is select the spam

47
00:03:17,700 --> 00:03:21,660
‫and say, OK, you see color change the maybe add some Italian.

48
00:03:21,990 --> 00:03:25,440
‫I can do that with CFS, but this grouping was important.

49
00:03:26,040 --> 00:03:29,130
‫So if you see this is in line element, why?

50
00:03:30,720 --> 00:03:35,370
‫Because I'm not covering the whole space, I'm only covering the plane part.

51
00:03:36,000 --> 00:03:36,960
‫In simple words.

52
00:03:37,350 --> 00:03:38,810
‫B is block element.

53
00:03:38,820 --> 00:03:45,270
‫It covers the whole space off screen, a device block element in cover the old space, but the span

54
00:03:45,270 --> 00:03:46,080
‫is in nine.

55
00:03:47,040 --> 00:03:51,180
‫Most of the content that we use are block element.

56
00:03:51,180 --> 00:03:57,150
‫Actually, if you see this head, you see this is a block element while it's taking space from start

57
00:03:57,150 --> 00:03:57,630
‫to end.

58
00:03:58,530 --> 00:04:03,720
‫I hope you got the idea, but if I select the span, it is only selecting the element.

59
00:04:04,110 --> 00:04:06,720
‫These three words only, so it's in nine elements.

60
00:04:07,750 --> 00:04:09,640
‫I hope you got the basic idea.

61
00:04:10,030 --> 00:04:12,910
‫Now this was the first part about block and in line.

62
00:04:13,180 --> 00:04:18,370
‫The second thing we use them is to group things, which was the important part that you need to understand.

63
00:04:18,790 --> 00:04:21,940
‫We use them to group certain type of content.

64
00:04:22,330 --> 00:04:25,120
‫Here you see, we grouped these two paragraphs.

65
00:04:25,500 --> 00:04:28,270
‫Here you'll see we grouped these three text.

66
00:04:28,840 --> 00:04:30,690
‫Now there can be anything else.

67
00:04:30,700 --> 00:04:36,520
‫Maybe we have multiple photos and we divide them according to their gallery, according to different

68
00:04:36,520 --> 00:04:38,770
‫players, according to different other content.

69
00:04:39,160 --> 00:04:42,790
‫Our web page is pretty big, and we can divide things into multiple parts.

70
00:04:43,300 --> 00:04:49,780
‫So, for example, if I did a normal web page or general purpose only earlier, what we used to do is

71
00:04:49,780 --> 00:04:52,390
‫we used to divide the page into multiple parts.

72
00:04:52,840 --> 00:04:59,590
‫The first day we used to create or header content that is our navigation bar, then the next day was

73
00:04:59,590 --> 00:05:05,740
‫used for main content of the website and the next day we used to have four footer.

74
00:05:06,280 --> 00:05:08,440
‫So let me remove all this.

75
00:05:11,060 --> 00:05:11,990
‫Also this.

76
00:05:13,620 --> 00:05:16,860
‫So ahead, I'm going to use this data and insight this.

77
00:05:17,100 --> 00:05:22,410
‫Let me add text for a while as navigation.

78
00:05:24,250 --> 00:05:26,380
‫Then if I was second do.

79
00:05:27,790 --> 00:05:31,300
‫And let me use it to log on now and call this.

80
00:05:31,840 --> 00:05:34,690
‫Or mean the only content of the navigation.

81
00:05:36,510 --> 00:05:43,050
‫And then use my third phone now, let me use extra and call this house or not.

82
00:05:43,830 --> 00:05:50,550
‫So this was the general idea of any website navigation, then mean content, then photos and these divisions

83
00:05:50,550 --> 00:05:52,710
‫used to have multiple section.

84
00:05:53,040 --> 00:05:58,050
‫And they basically grouped things that are related to navigation or navigation has a logo.

85
00:05:58,290 --> 00:05:59,850
‫These are different other item.

86
00:06:00,210 --> 00:06:02,610
‫Go to example is going to be Amazon again.

87
00:06:03,420 --> 00:06:05,760
‫So this is going to be on a navigation section.

88
00:06:06,570 --> 00:06:09,060
‫It's going to remain same for all pages.

89
00:06:09,240 --> 00:06:12,270
‫Now this is going to be out of main content of the website.

90
00:06:12,720 --> 00:06:16,540
‫And then at the end, this is going to be our footnote.

91
00:06:17,490 --> 00:06:24,300
‫So that's how we are going to divide things, and that's a common pattern that people know for now,

92
00:06:24,300 --> 00:06:28,470
‫I'm taking example of how there are certain other dogs that we are going to use.

93
00:06:28,770 --> 00:06:35,100
‫But that's the basic example that we follow, that we divide content of any website, any web page into

94
00:06:35,110 --> 00:06:36,240
‫multiple section.

95
00:06:36,870 --> 00:06:41,310
‫Here, for example, I'm using them now inside this.

96
00:06:41,310 --> 00:06:46,980
‫Also, we can divide multiple things by jumping through the Amazon part.

97
00:06:47,130 --> 00:06:47,820
‫Scroll up.

98
00:06:48,450 --> 00:06:53,970
‫Now here we have a section about logo, then we have a section of our this whole search.

99
00:06:54,240 --> 00:06:55,530
‫Then we have another section.

100
00:06:56,040 --> 00:07:06,930
‫So what we can do is we can add there again and have this or logo and maybe on new level again and call

101
00:07:06,930 --> 00:07:12,500
‫this or maybe search on new live again and gone this far.

102
00:07:12,630 --> 00:07:13,590
‫Maybe log in.

103
00:07:13,590 --> 00:07:14,970
‫But then something like this.

104
00:07:14,970 --> 00:07:16,140
‫I hope you get the idea.

105
00:07:16,740 --> 00:07:19,150
‫Then men can be divided into multiple park.

106
00:07:19,190 --> 00:07:22,560
‫Maybe I created them again and call this whole banner.

107
00:07:23,100 --> 00:07:26,890
‫Now here I'm just writing this text, so you can just have some reference.

108
00:07:27,150 --> 00:07:30,150
‫I'm not using any H1 tag or any type of other content.

109
00:07:30,480 --> 00:07:32,850
‫I'm just giving you a reference for this.

110
00:07:32,850 --> 00:07:34,470
‫Those is now belong to Banner.

111
00:07:34,590 --> 00:07:41,010
‫Now we create another day and inside this, we might have products, maybe recent viewed product.

112
00:07:41,370 --> 00:07:48,310
‫So I can say recent and maybe in color, we have multiple sections again, if I just scroll down to

113
00:07:48,330 --> 00:07:48,810
‫order.

114
00:07:49,170 --> 00:07:55,890
‫You can see we have our logo, then we have countries and this is divided into multiple parts itself.

115
00:07:56,100 --> 00:07:58,860
‫So I can say I do know words of.

116
00:08:00,280 --> 00:08:05,890
‫Another live and gone this far, countries and then few are there.

117
00:08:06,220 --> 00:08:08,110
‫So that's how we divide things.

118
00:08:08,740 --> 00:08:16,300
‫Now this is something really important for you to understand that we can divide things inside things,

119
00:08:16,300 --> 00:08:17,140
‫inside things.

120
00:08:17,560 --> 00:08:21,730
‫Now, maybe with this recent product, you can have two categories.

121
00:08:21,740 --> 00:08:24,070
‫I divide this further.

122
00:08:24,580 --> 00:08:27,670
‫The first part can be related to tech products.

123
00:08:31,080 --> 00:08:35,940
‫And the second part can be related to fashion products.

124
00:08:38,550 --> 00:08:44,040
‫So that's how you divide, furthermore, so I hope you get the idea how we are understand things, we

125
00:08:44,160 --> 00:08:46,990
‫usually a division inside that we have had on multiple television.

126
00:08:47,020 --> 00:08:50,640
‫We have the vision and side that we have of the multiple divisions.

127
00:08:51,030 --> 00:08:52,890
‫So that's how you keep on calling.

128
00:08:53,190 --> 00:08:59,250
‫And remember, these are in block because these cover whole space, hold space in the form of horizontally.

129
00:08:59,940 --> 00:09:04,470
‫If you remember about span, we covered only the inline arc.

130
00:09:05,010 --> 00:09:05,750
‫So that's it.

131
00:09:05,760 --> 00:09:07,380
‫That's the important part.

132
00:09:07,740 --> 00:09:13,320
‫Now, in the next lecture, we are going to discuss about classes and Evie, which is pretty important

133
00:09:13,320 --> 00:09:15,920
‫for you to understand this divide.

134
00:09:15,930 --> 00:09:21,690
‫The spine part is okay, we'll be referring to this topic again and again, but the next topic is important.

135
00:09:22,170 --> 00:09:27,810
‫I hope you got the idea how we are going to use this and also make sure you understand about what is

136
00:09:27,810 --> 00:09:29,370
‫blog and what is in line.

137
00:09:30,150 --> 00:09:33,120
‫That's it for this lecture, and I see you guys in the next one.

