1 00:00:00,000 --> 00:00:02,680 ?[treehouse presents]? 2 00:00:02,680 --> 00:00:05,570 [Quick Tips] [How to Edit HTML with Nick Pettit] 3 00:00:05,570 --> 00:00:06,380 Hi, I'm Nick. 4 00:00:06,380 --> 00:00:11,090 In this Treehouse Quick Tip, we're going to learn how to edit HTML. 5 00:00:11,090 --> 00:00:13,150 Before I tell you what we should do, 6 00:00:13,150 --> 00:00:15,900 let's go ahead and go over what we shouldn't do. 7 00:00:15,900 --> 00:00:19,240 Make sure that you don't edit your HTML 8 00:00:19,240 --> 00:00:21,220 in a word processing application like 9 00:00:21,220 --> 00:00:25,060 Microsoft Word, Apple Pages, or Google Docs. 10 00:00:25,060 --> 00:00:29,230 These programs add special formatting that's invisible to you and me, 11 00:00:29,230 --> 00:00:31,970 but will not play nice with a web browser. 12 00:00:32,450 --> 00:00:37,830 These days, most web designers and developers use what's called a text editor. 13 00:00:37,830 --> 00:00:42,620 This is a type of program that allows you to edit documents in plain text 14 00:00:42,620 --> 00:00:44,100 just as they are. 15 00:00:44,100 --> 00:00:45,710 Let's look at a few popular ones. 16 00:00:47,120 --> 00:00:49,390 If you're using a PC and you're on Windows, 17 00:00:49,390 --> 00:00:51,760 you can actually get started with Notepad 18 00:00:51,760 --> 00:00:54,540 which is included with your operating system. 19 00:00:56,150 --> 00:00:59,180 If you're on a Mac, you can use TextEdit. 20 00:00:59,180 --> 00:01:03,900 If you do use TextEdit, be sure that you go up to the format menu 21 00:01:03,900 --> 00:01:10,450 and then you click on make plain text before you actually go to save your document. 22 00:01:11,090 --> 00:01:15,810 This will ensure that there's no rich formatting included with your plain text. 23 00:01:16,830 --> 00:01:21,850 However, a really great text editor for beginners and advanced users alike 24 00:01:21,850 --> 00:01:23,640 is Sublime Text 2. 25 00:01:24,420 --> 00:01:28,180 It's available for Windows, Mac, and Linux. 26 00:01:28,180 --> 00:01:34,000 You can go to sublimetext.com/2 [http://www.sublimetext.com/2] 27 00:01:34,000 --> 00:01:38,040 and then download the installer that's appropriate for your operating system. 28 00:01:39,730 --> 00:01:43,060 Once you've installed Sublime Text 2, it will look something like this. 29 00:01:43,060 --> 00:01:48,400 If you try Sublime and you like it, then you can go ahead and pay for a license. 30 00:01:49,360 --> 00:01:56,380 By default, most text editors will want to save a file as a text file or .txt file. 31 00:01:56,380 --> 00:02:01,680 However, when you save your files with the intention of creating a HTML webpage, 32 00:02:01,680 --> 00:02:04,990 you'll want to save them with .html file extension. 33 00:02:04,990 --> 00:02:07,040 ?[treehouse]? 34 00:02:07,040 --> 00:02:10,280 If you'd like to see more advanced videos and tutorials like this one, 35 00:02:10,280 --> 00:02:14,510 go to teamtreehouse.com and start learning for free. [http://www.TeamTreehouse.com]