Making a More Complex Web Page So now we know some more facts about web pages:
Knowing these basic points, we can now move on an start making a more complex web page. Change-Save-Reload-Check When we finished on the last page, you had two programs open: Notepad and a browser. The Notepad window had your basic web page HTML code, and the browser showed what the web page looked like. As we continue, keep these two windows open and switch between them. We will use Notepad to add bits to our web page, and we will use the browser to see what the web page looks like. Keep in mind that both windows show the same web page: Notepad shows the HTML code, and the browser shows what the HTML code looks like as a web page! When you have made a new change and you want to see it in the browser, first you must SAVE the changes. This is very simple: do a CTRL+S on the keyboard. This will save the file. It will seem like nothing happened (the computer will not tell you "I've saved it"), but if you did the CTRL+S correctly, then trust that it was saved. You can always try again if it didn't work. Next, switch to the browser window. It will not show the changes you saved yet; to see the changes, you must RELOAD the page. You can do this by clicking on the reload button--in Internet Explorer, it looks like this: Or you can just click on the F5 key (in any browser). When you do that, the changes you saved will appear on the web page. To review this process:
From this point, I will ask you to do a Save-Reload-Check to see the changes you made. Let's Make Some Changes! Remember the commands I introduced on the last page? Let's try a few. In your Notepad window, the body should look like this:
Let's add some line spaces before the "Hello". I will make new code red so you can see it more easily.
That should add two blank lines to your page before the "Hello". Now add a CENTER command. Don't forget the start and finish!
That should put the "Hello" in the center of the page, two lines down. Try it! Do a Save-Reload-Check. If there are any problems, just go back to Notepad and look for spelling mistakes or mistakes with brackets and backslashes. Next, let's try to add a horizontal rule and some more text.
After you add this code, do another Save-Reload-Check. Now let's try something really new: a command with attributes. We haven't done this before, so be careful and pay attention:
Some notes about these changes:
Make the changes I showed above, and then do another Save-Reload-Check. Now some more changes. Let's add another attribute to the FONT command:
Add that change, and again, do a Save-Reload-Check. By now, the web page should look like this:
Are you getting the idea for how web pages are designed? I hope so! If not, then review this page--do everything again from the start. After that, continue on to the next page... Now You Know Now you know how to make a very basic page. You are ready to learn more commands and become creative, making your own web page designs. |