Philosophical Liberty
games history links me art knowledge knowledge

Post by: Eric Li

HTML tutorial
5

In practical

There's still more to learn but for now, let's have a checkpoint to see how what you've learnt fits in.

  1. Start by opening you HTML editor.
  2. Now write or copy if you forgot the HTML structure in the editor.
  3. Suppose:
    • you want to display a big "Hello World!" message on top
    • then draw a horizontal line
    • then find some text to format so as there is at least one hyperlink, one bold, italic and underlined part and one different color text
    • add a picture
    • and end with the date you wrote this on the lower RIGHT side of the page in comic sans ms

How to proceed?

Now that you already have your HTML editor opened and the structure in it, let's go directly to the "problem", it should be a piece of cake.

Proceed as I tell you...

Now that we have finished with our page, we do:
  1. "File -> Save". A window will be promted. Specify its directory where you want and give it a name (maybe "Hello World!") then click save to save it in .txt format as default.
  2. Then do "File -> Save As..." then specify its directory, normally the same as before then give it a name, normally the same as the first one THEN (very important!) add the extension .html at the end of the name to make it an html document.

That way you will get a text format of the page to be able to edit it whenever you want and an html document viewable with any web browser. Double click on the html document to view it in your default web browser or open your web browser then do "File -> Open File... -> directory of the html file" to view it on the web browser you opened.

Note that the first time you write the page it might contain typos (wrongly written tags or other words), omittion of certain things or other "hazards". So you will have to re-open the text document where you wrote your html page then do the necessary changes then re-save once and save it with the .html extension the second time then review it to see how it is now.

Previous| Intro | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |Next


| | Comment rules