Let’s Write HTML!    Web Design logo

You are ready to begin HTML Lessons if you have

  1. Create a topic folder inside your web design folder.
  2. Create an images folder inside your topic folder.

    Website folder setup

  3. Open notepad and add the beginning tags for your first page.
  4. <html>

    <head>
    <title>Title of Your Web Page</title>
    </head>

    <body>
    Type a sentence or two of your choosing between the body tags.
    </body>

    </html>

  5. Save the first page as index.html inside your topic folder.
  6. Web file structure

  7. When you are creating web pages you will want to have several files and folders open at the same time. Don’t close any windows, just toggle through them.
  8. Use Internet Explorer to open your topic folder.
  9. Double click on your index page to see what it looks like as a web page.
  10. When you make a coding change save it in Notepad and refresh it on Internet Explorer.
  11. When you insert a picture you need to explain to the computer where that picture is located.

    <img src=”images/flag.jpg”>

    Web Image folder

 

Working with HTML

Opening tag}     <body>Your text is placed between the tags.</body>     {Closing tag

HTML code must be exact.  To get the results you want, you will have to type code that is error free.  For instance, if you omit / in a closing tag, the feature you want turned off will continue in effect.  Once you gain a basic understanding of HTML code, you should be able to look at your work, spot errors, and fix them.

Typing code can be very tedious, but there are shortcuts. Suggestion:  if typing code helps you learn it, by all means type it! Use these copying shortcuts when you know your HTML well enough to use it correctly and spot errors.

Basic Guidelines for Using Notepad

Notepad has limited featuresmake the most of what it can do: 

Your work window will look something like this:

Window appearance when working in Notepad

Tips to remember:

If the page doesn’t display your changes, check your steps:

ALWAYS Save in Notepad when your changes are complete

ALWAYS click Refresh to view your updated page in the browser


Copyright Notice: No materials on any of the Bellingham Schools’ web pages may be copied without express written permission unless permission is clearly stated on the page.
Permission / Image Information / Return to Tech Connections Homepage / District Homepage

Bellingham Public Schools. 1306 Dupont St. Bellingham WA 98225-3198