Jump to content

Recommended Posts

Posted

Writing HTML Using Notepad or TextEdit

 

HTML can be edited by using a professional HTML editor like:

 

    Adobe Dreamweaver

    Microsoft Expression Web

    CoffeeCup HTML Editor

 

However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML.

 

Follow the 4 steps below to create your first web page with Notepad.

Step 1: Start Notepad

 

To start Notepad go to:

 

Start

    All Programs

        Accessories

            Notepad

Step 2: Edit Your HTML with Notepad

 

Type your HTML code into your Notepad: 

<!Doctype HTML
<HTMP>
<BODY>
<H1 my first heading</h1>

<p>My first paragraph.</p>

</body>
</html>

 

Step 3: Save Your HTML

 

Select Save as.. in Notepad's file menu.

 

When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you.

 

Save the file in a folder that is easy to remember, like mrhotfire.

Step 4: Run the HTML in Your Browser

 

Start your web browser and open your html file from the File, Open menu, or just browse the folder and double-click your HTML file.

 

 

Credits Olympus,Internet&ME.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..