1
00:00:02,020 --> 00:00:03,610
Now in the last lecture,

2
00:00:03,610 --> 00:00:06,250
I introduced void elements

3
00:00:06,250 --> 00:00:09,780
and the link element was an example void element.

4
00:00:09,780 --> 00:00:12,860
We'll see another void element soon.

5
00:00:12,860 --> 00:00:16,510
And I got one important note about the exact syntax

6
00:00:16,510 --> 00:00:18,230
for those void elements,

7
00:00:18,230 --> 00:00:21,710
so how we write those void elements.

8
00:00:21,710 --> 00:00:24,540
I did write this link like this,

9
00:00:24,540 --> 00:00:28,370
just the opening tag, no closing tag.

10
00:00:28,370 --> 00:00:33,370
You can also alternatively add a forward slash

11
00:00:33,440 --> 00:00:36,280
at the end of this opening tag,

12
00:00:36,280 --> 00:00:40,880
hence turning this into a so-called self-closing tag

13
00:00:40,880 --> 00:00:45,520
because it immediately closes itself after the opening tag.

14
00:00:45,520 --> 00:00:47,470
And if you use this

15
00:00:47,470 --> 00:00:51,400
or the alternative without the forward slash at the end

16
00:00:51,400 --> 00:00:52,870
is totally up to you.

17
00:00:52,870 --> 00:00:55,700
You can use either of the two syntaxes.

18
00:00:55,700 --> 00:00:57,530
Now I'm mentioning this here

19
00:00:57,530 --> 00:01:01,110
because when I press my auto format shortcut,

20
00:01:01,110 --> 00:01:05,280
it actually adds this forward slash automatically for me.

21
00:01:05,280 --> 00:01:08,290
And hence, I don't want you to get confused

22
00:01:08,290 --> 00:01:11,530
if you will later see that forward slash here,

23
00:01:11,530 --> 00:01:14,870
that while simply me pressing the auto format shortcut

24
00:01:14,870 --> 00:01:18,580
and it is exactly the same as having this element

25
00:01:18,580 --> 00:01:20,683
without that forward slash.

