|
Your First Web Page – By Floyd Winters v06/06/06
Html stands for HyperText Markup Language and is the language that Web pages are written in.
This language consists of Tags – which are basically commands enclosed in angle brackets (< >). Most tags are turned on and then turned back off (by placing / in front of the tag). For instance: To turn on html enter: <html> To turn off html enter: </html> To turn on the page body enter: <body> To turn off the page body enter: </body>
Notepad is a very simple text editor that does not add extra code like a word processor for things like margins and printer definitions. 1. To build a new Web page – click Start > Programs > Accessories > Notepad. 2. When Notepad is opened, enter your tag to open your html commands <html> and tap [Enter]. 3. Enter your tag to open the body <body> of the Web page and tap [Enter]. 4. Type This is my first Web Page and tap [Enter]. 5. Enter the command to close the body </body>of the Web page tap [Enter]. 6. Then enter the command to close the Web page </html> and tap [Enter]. 7. Click File > Save As and name the file FirstWebPage.htm (Note: there are no spaces)
8. Locate 1stWebPage.htm in the Windows Explorer, and double-click it, and it will open in your browser displaying the words: This is my first Web Page. 9. To display the words Web Page in bold enter the tag <strong> before the word Web and enter </strong> after the word Page to turn bold off. (You can also use the older tags <b> and </b>.) 10. To display a title in the Titlebar and Taskbar insert these three lines after the opening <html> tag: <head> <title>My First Web Page</title> </head>
11. Click File > Save 12. Locate 1stWebPage.htm in the Windows Explorer, and double-click it, and it will open in your browser displaying the words: This is my first Web Page. |