Wednesday, July 3, 2019

HTML - Hyper Text Markup Language

HTML files have a basic structure that you MUST work within. Before you begin the tutorial you should type or copy/paste the following 8 lines from this screen into the text file (file you have open in notepad)

<html>
<head>
<title>MY HOME PAGE NAME</title>
</head>
<body>
THIS IS WHERE THE CODE FOR BODY (WHAT YOU SEE IN NETSCAPE/INTERNET EXPLORER) OF THE WEB PAGE GOES.
</body>

The text/bracket combinations are called tags. Note they come in pairs. There is always a beginning tag (<title>) and an end tag (</title>). The beginning tag signals Netscape / Internet Explorer that a new tag/task is starting. The end tag tells Netscape / Internet Explorer that the tag/task has ended. You will learn more about these in the tutorial. Save the above file to the desk top of your computer as: home.html. Make sure to add the extension ".html" to the end of the file


OPENING THE HTML FILE IN NETSCAPE/INTERNETEXPLORER

Now you can view the results of your work:
1. Go to or open Netscape/Internet Explorer
2. File > Open or Open Page
3. Press the Choose or Browse button
4. Browse to the desktop and double click on home.html
5. Click Open/OK to load the file
If this did not work, ask for help.

Save the file as mypage.html. Start your Internet browser. Select Open (or Open Page) in the File menu of your browser. A dialog box will appear. Select Browse (or Choose File) and locate the html file you just created - mypage.html - select it and click Open. Now you should see an address in the
dialog box, for example C:\MyDocuments\mypage.html. Click OK, and the browser will display the page. To view how the page should look, visit this web page: http://profdevtrain.austincc.edu/html/mypage.html


No comments:

Post a Comment