02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

How to pick an HTML Editor

In this video, we learn how to get started with HTML by picking the right tools. We'll cover the difference between WYSIWYG editors like Dreamweaver and plain text editors like Sublime Text. Discover the value of coding HTML directly and why understanding what's happening behind the scenes matters. By the end, you'll know how to create and save your very first HelloWorld.html file and test it in a browser!

Video Transcript

00:00Alright, so we are in the next video right now
00:02and the next thing we want to talk about...
00:03First of all is how do you start off creating your first HTML files
00:07Let me just put back our logos and stuff so you could see
00:10a little bit of 'brainwashing' while we are teaching you guys
00:15Just look at that logo 02GEEK as you are learning.
00:28It's hard to sell videos so the more times they hear about it, the better
00:3202GEEK :) -Exactly!
00:34You are learning with 02GEEK right now.
00:37Back into what we're talking about
00:39There's a lot of tools out there. Now there is 2 different types of tools
00:42and I'm going to throw few scary words
00:44because developers like using scary words
00:46There is WYSIWYG tools and regular tools
00:50The WYSIWYG tool is 'what you see is what you get'
00:54Applications such as 'Dreamweaver' when you don't have to know anything about how to code
00:58you just go into that WYSIWYG such as Dreameaver
01:03and just start typing, just as you would in a Word document
01:06or in your email and there you go. You just had a website.
01:09That's how we are NOT going to do here
01:12We are going to actually learn how to do it
01:14There is a lot of value in knowing how to do it.
01:16So what we really need is editor that is a good text editor.
01:21Now, a good text editor is a standard NotePad on Windows
01:24or any editor that you know is not a WYSIWYG
01:28In our case we are going to be working with editor
01:30that is called SublimeText
01:32If you are working on MAC it's a free application
01:34although they really want you to pay for it
01:36as long as you didn't pay there will be an 'unregistered' mark on it
01:39but they are really cool because they don't force you to pay
01:48We still paid for it because we think if we're going to make training videos on it
01:51We probably should pay for it
01:54So... you open up any non WYSIWYG application, this is a regular text editor
02:03with a few hidden features
02:04All you really could do in it is type
02:07Let's just make our file a little bit bigger so everyone could see
02:10Beautiful!
02:11So we have a new empty document
02:13now, before we start working on this empty document that is editor for code
02:19We don't want to work with any tool
02:23that you can't see what happens behind the scenes
02:25We want to see what happens behind the scenes
02:27Once you have that application our next step is
02:30creating our first HTML file
02:32to do that I'm just going to go into:
02:34'File' - 'Save' and I'm going to save this file on my desktop for now
02:42I'm going to call this 'HelloWorld'
02:47-Let me ask you what is going to be the file extension for that 'helloworld' file ?
02:56- That wizzy-something?
02:58-No no no. I'll give you a hint it starts with .h
03:03-.html ?
03:04-there you go!
03:05So that .html file we're going to create our helloworld.html file
03:14We're going to click on 'save' and now our file
03:16is going to be a helloworld.html file
03:18I'm going to jump right into the browser
03:21as soon as we created the file
03:23I'm going to grab that file and drop it right into my browser
03:26so I could see what actually happen
03:28Now, you will see that we have a new HTML file
03:31it's completely empty
03:32Its title is helloworld.html because that's the name of the file
03:48We created an empty HTML file that basically has nothing inside of it
03:52not that exciting but we are step ahead already.
03:55The next step that we want to do now, that we have an empty file
03:58we've seen it in a browser...
04:00By the way, if we are talking about the browsers
04:02it really doesn't matter what browser you're using
04:04-What is your favorite browser that you work with?
04:10-When you browse the web what browser do you use?
04:13-ummm... Firefox?
04:14-there you go. that's your browser.
04:16This browser is Safari which is built-in one in MAC
04:19A lot of people use different browsers
04:22there is Chrome, there is Internet Explorer.
04:24-yeah I use chrome sometimes also.
04:26So it doesn't matter what browser we are using at this stage
04:30because they render basically in the same way
04:32Because we are creating really basic websites at this stage
04:36Later on you will probably want to test out and see
04:38how it looks like in different browsers
04:40mainly because different people watching in different browsers
04:42and different browsers interprate what you do slightly differently
04:46and you want to make sure that whatever you created
04:49looks okay to you in all the different browsers

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

Lesson notes

1. Types of Editors: WYSIWYG vs. Plain Text Editors

There are two main types of editors you can use:

  • WYSIWYG Editors (What You See Is What You Get):

    • Tools like Dreamweaver allow you to design web pages visually without needing to know how to code.
    • They are easy to use, similar to editing a Word document or an email.
    • Why we don’t recommend it: While WYSIWYG tools are convenient, they hide the underlying HTML structure. This means you won’t truly understand what’s happening behind the scenes.
  • Plain Text Editors:

    • These editors allow you to write raw HTML code.
    • Examples include:
      • Notepad (Windows)
      • Sublime Text (recommended in this tutorial)
    • Sublime Text is free to use but shows an "unregistered" mark unless you purchase it.
    • Why we recommend it: Plain text editors teach you how HTML works, giving you complete control over your code.

2. Setting Up Your Editor

For this tutorial, we’ll use Sublime Text. Here’s what you need to do:

  1. Download and Install Sublime Text:

  2. Open a New File:

    • Launch Sublime Text and create a new file by selecting:
      • File > New File

3. Creating Your First HTML File

Let’s create a basic HTML file called HelloWorld.html. Follow these steps:

  1. Save the File with an HTML Extension:

    • Go to File > Save As
    • Save the file to your desktop (or another location).
    • Name the file: HelloWorld.html
  2. Why .html?

    • The .html extension tells the computer and web browsers that this file contains HTML code.

4. Testing Your HTML File

Once you’ve saved the file, let’s see what happens:

  1. Locate the HelloWorld.html file you saved.
  2. Drag and drop it into any web browser (e.g., Chrome, Firefox, Safari, etc.).
  3. You’ll see that the browser opens the file, but it appears blank—this is normal because the file currently has no content inside it.

5. About Web Browsers

At this stage, the browser you use doesn’t matter because basic HTML renders the same way in most browsers.

  • Examples of browsers:
    • Chrome
    • Firefox
    • Safari
    • Internet Explorer / Edge

However, later in web development, you’ll want to test your website in different browsers since they may interpret code slightly differently.


Summary

By the end of this tutorial, you’ve:

  • Learned about WYSIWYG editors and why we use plain text editors instead.
  • Installed and set up Sublime Text.
  • Created and saved your first HTML file: HelloWorld.html.
  • Tested the file in a browser to see how it works.

What’s Next?

In the next tutorial, we’ll dive deeper into writing content for your HTML file and adding structure to your web pages. Stay tuned!