00:00So let's start looking into how to create code
00:04I'm going to go back into my code editor
00:07and in my code editor. Where we type in our code is a code editor
00:12What I wanna do is I wanna create a first simple HTML file
00:18The way it works is really simple.
00:20Let's even take a step back.
00:22We're talking about there is titles in websites.
00:25If I go back into our browsers samples - you have your title
00:29you see - Learning better is better.
00:31And there is a paragraph underneath it that is smaller
00:33and as we scroll around you see that some titles are smaller
00:36and some are bigger
00:37and some have links, and some have images
00:40now, how does the program know where the title start
00:44and where the title ends
00:45Basically, that's where html comes in
00:47and where html defines the starting place of the title
00:51and the ending place of the title
00:53The starting place of anything really.
00:55and the ending place of anything
00:57To do that, there is very simple rule that is always applied
01:01in every single thing you're going to learn from now on
01:04You have a '< ' and then you have a 'name' and then ' >'
01:10And this literally tells the program
01:12from here there is a beginning of something
01:15this is going to be the name
01:16So for example, let's say there is a title
01:19that's called 'p' which is a paragraph
01:21So now you know that paragraph just started
01:23and we could type here: 'things'
01:26Whatever we want we type, we type we are happy
01:28-Oh this is 'shit' that's not a good idea!
01:31- Didn't I teach you better than that ?
01:32-Very better, yes
01:37The only problem is that...
01:38Now we started a paragraph
01:40We know how to create your paragraph
01:42How do we know how to end a paragraph?
01:44That's where closing tags come in
01:46and this a really critical skill to know
01:48Without it you're going to create broken pages
01:50you have to be able to tell the browser:
01:51Whatever I want starts here, whatever I want stops there
01:55So to say it we close the tag by using '/ '
02:00-What do we call that sign ?
02:03- slash ?
02:04- Slash I guess. Right, so you take the same tag as for opening
02:08you just close it with '/ ' before the actual name of the tag
02:12-Okay!
02:12Now if I save this and go to my browser
02:15We will see that already now
02:17if we go into that page again and click on refresh
02:19We will see that 'things this great'
02:21Oh that's a beautiful sentence
02:24Things this great , yeah I'm so shocked by the beauty of that sentence
02:33-What do you think about that so far?
02:35-Okay, I got it ! Not too hard.
02:37There is opening tags and there is closing tags.