1 00:00:00,100 --> 00:00:02,360 Now that you're familiar with HTML and 2 00:00:02,360 --> 00:00:06,290 CSS as languages let's break down exactly what you were doing. 3 00:00:07,990 --> 00:00:11,240 Looking at the code you may have noticed some grayed out text at 4 00:00:11,240 --> 00:00:12,870 the top of the page. 5 00:00:12,870 --> 00:00:14,790 This is called a comment. 6 00:00:14,790 --> 00:00:18,180 When you run the code this line doesn't show up anywhere in the browser. 7 00:00:19,190 --> 00:00:24,200 In the HTML code, comments are created by using a less than sign, 8 00:00:24,200 --> 00:00:27,490 an exclamation point and then two dashes. 9 00:00:27,490 --> 00:00:30,840 You close a comment by putting two dashes and then a greater than sign. 10 00:00:32,100 --> 00:00:34,140 Comments are used to put thought or 11 00:00:34,140 --> 00:00:39,200 explanation into your code for you and others to understand what's going on. 12 00:00:39,200 --> 00:00:42,433 Below that you'll see the doc type, or document type. 13 00:00:42,433 --> 00:00:46,680 The doc type tells the browser what kind of document it is, and 14 00:00:46,680 --> 00:00:49,510 in our case it's plain HTML. 15 00:00:49,510 --> 00:00:53,040 Including the doc type in the document ensures that the browser makes 16 00:00:53,040 --> 00:00:57,500 the best effort to follow the list of instructions you've created. 17 00:00:57,500 --> 00:01:00,630 While you were coding you might have noticed that this attribute is 18 00:01:00,630 --> 00:01:02,820 not necessary to run you code. 19 00:01:02,820 --> 00:01:07,940 However, it's good practice and should be the first thing on an HTML document. 20 00:01:07,940 --> 00:01:11,400 Next you will notice an opening HTML tag. 21 00:01:11,400 --> 00:01:14,430 This is a good time to introduce you to the idea of tags. 22 00:01:15,480 --> 00:01:19,630 HTML uses tags, which you can think about as instructions that have 23 00:01:19,630 --> 00:01:24,170 angle brackets around them, such as comments or paragraphs. 24 00:01:24,170 --> 00:01:29,470 When writing tags into your code, be sure the opening tag has two angle brackets and 25 00:01:29,470 --> 00:01:32,730 the closing tag has a slash after the first angle bracket. 26 00:01:33,870 --> 00:01:39,030 Now that you've learned how to set up your HTML page and use comments to help you and 27 00:01:39,030 --> 00:01:42,130 other coders know what's going on inside your code, 28 00:01:42,130 --> 00:01:45,860 let's take a quick code challenge on starting an HTML document and 29 00:01:45,860 --> 00:01:48,320 a short quiz to make sure you're following along.