How to Edit HTML2:05 with Nick Pettit
In this Treehouse Quick Tip, we're going to learn how to edit HTML and learn about text editors.
?[treehouse presents]? 0:00 [Quick Tips] [How to Edit HTML with Nick Pettit] 0:02 Hi, I'm Nick. 0:05 In this Treehouse Quick Tip, we're going to learn how to edit HTML. 0:06 Before I tell you what we should do, 0:11 let's go ahead and go over what we shouldn't do. 0:13 Make sure that you don't edit your HTML 0:15 in a word processing application like 0:19 Microsoft Word, Apple Pages, or Google Docs. 0:21 These programs add special formatting that's invisible to you and me, 0:25 but will not play nice with a web browser. 0:29 These days, most web designers and developers use what's called a text editor. 0:32 This is a type of program that allows you to edit documents in plain text 0:37 just as they are. 0:42 Let's look at a few popular ones. 0:44 If you're using a PC and you're on Windows, 0:47 you can actually get started with Notepad 0:49 which is included with your operating system. 0:51 If you're on a Mac, you can use TextEdit. 0:56 If you do use TextEdit, be sure that you go up to the format menu 0:59 and then you click on make plain text before you actually go to save your document. 1:03 This will ensure that there's no rich formatting included with your plain text. 1:11 However, a really great text editor for beginners and advanced users alike 1:16 is Sublime Text 2. 1:21 It's available for Windows, Mac, and Linux. 1:24 You can go to sublimetext.com/2 [http://www.sublimetext.com/2] 1:28 and then download the installer that's appropriate for your operating system. 1:34 Once you've installed Sublime Text 2, it will look something like this. 1:39 If you try Sublime and you like it, then you can go ahead and pay for a license. 1:43 By default, most text editors will want to save a file as a text file or .txt file. 1:49 However, when you save your files with the intention of creating a HTML webpage, 1:56 you'll want to save them with .html file extension. 2:01 ?[treehouse]? 2:04 If you'd like to see more advanced videos and tutorials like this one, 2:07 go to teamtreehouse.com and start learning for free. [http://www.TeamTreehouse.com] 2:10
You need to sign up for Treehouse in order to download course files.Sign up