Once completed installed Web Browser, and Text Editor is already available, this time we will discuss about how to run an HTML file from a web browser.
Next, open the Notepad ++, or another text editor application, and then type the following text:
1
|
Good Morning World, Hello World!
|
Then save as hello.html on BelajarHTML folder. After that run our hello.html file by double-clicking the file, or right click -> Open With -> Firefox (If you use firefox web browser)
Congratulations! HTML file we've been able to run, even though no single HTML code in it.
From this we can see that every HTML page should end with the extension .html. You may also find that some pages also have .htm, eksetensi is used to support older versions of Windows which still uses the 3-letter extension on the back of a file.
After learning how to run an HTML file from the local computer, the next tutorial, we will begin to learn the HTML code, the definition of tags, elements, and attributes in HTML.