:
http://ronaldreed.com/bynumber.htm
| Posted: |
|
This series of steps is being composed to assist you in the design of an HTML webpage.
|
| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Top | |
|
For best viewing with Internet Explorer browsers, set font with View/Text Size to 'Medium'
When the line below matches the line above the font size is correct for this page. |
|
Start • Steps 1-9 Preliminaries |
Steps 10-19 Creating Page |
Steps 20-39 | Steps 40-59 | Steps 60-79 | Steps 80-101 |
Link and Image List |
Member List |
Step 1 - Getting Started with the right tools.Next Step - Online Support Sites | |
| Click Black Text to Align the Page |
Next |
| 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 |
20 |
Up | Top
|
| To navigate to a specific Step, click a "Top" link, then click the "Step Map" link. |
Step 2 - Online Support SitesNext Step - Writing your first web page | |
Next | 1 |
| 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| A reminder: To navigate the page you can click the black text to align the page. |
Step 2 - Knowing where to get help! Your webmaster had written numerous tutorials and course outlines for learning HTML ( HyperText Modeling Language ) code. When approporate, these sources will be referenced.
Instructions Step 2: The best source of HTML information for beginners can be found on sites for children. The following link directs you to a number of on-line tutorials on creating web sites with HTML.
Summary Step 2: We now have several references for information about the HTML language. Your web master will reference appropriate portions of these site when needed. |
Step 3 - Writing your first web pageNext Step - Surfing the Support Sites |
Next |
1 | 2 | | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top |
| I don't have room on the page width for a "sidebar". I guess this is a called a "topbar"! | |
Step 3 - Lets write and execute our first web page. How easy is it to write a web page? Your webmaster could edit a file with a one space defining character; give it an extension of ".htm" when he saves it, then ask the "browser", commonly Internet Explorer (IE), or Netscape (NS), to display the web page. A web page with one blank character is not very interesting. View:
Instructions Step 3: But, you will write a more impressive first web page. This is what you will do:
Summary Step 3: Well, that was simple. Wasn't it? Now, you understand that a web page is just a simple text "filename" file with a special extension, either "filename.htm" or "filename.html". The web page you edited is nothing but straight "text". A web page file contains only two types character strings in the file. One type of character strings is as you see, pure text. The other character strings are called HTML tags, and they begin with a "<" character, and end with a ">" character. It is the knowledge of these HTML tags, and their use, is what we have to learn. |
Step 4 - Surfing the Support SitesNext Step - Web Page Definitions and Termonology |
Next |
1 | 2 | 3 |
|
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 | 20 |
Up | Top |
The through
links launch separate web pages. Close these pages to return!
|
Step 4 - Well, now it is time to get serious about your learning HTML coding.
We are not going abandon our efforts to provide you with a step-by-step set of help in construction of your SIG web page. What is needed now is for you to "browse" through these tutorials on web page design. Each will present information in a different manner. In surffing through each site, find the sites which seems to be one which you find understanding. We are not expecting you to use these site, and start coding your web page during this exercise. Be patient, we will get to coding soon. Thank you.
Instructions Step 4: It is NOT IMPORTANT that you understand all the information, terms, and details that is presented in these site. What IS IMPORTANT is that you don't get discouraged and give up on your quest to learn how to construct web pages.
In directing you to the above reference, there will be appropriate information relative the topic. There may be additional information displayed. Read what you wish, but then return to our site to continue your "steps".
Summary Step 4: Well, that was hopefully informative. That was all we expected. In the latter steps this sequence of images will link to each of the above sites:
![]() In this way, all our references are a "click" away. |
Step 5 - Web Page Definitions and TermonologyNext Step - Our Free Web Page Constraints | |
Next |
1 | 2 | 3 | 4 |
| 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| Hey! If you have not surfed the web page tutorials in Step 4, then why continue? |
Step 5 - Web page related definitions and termonology. Here are some things you need to know.
Summary Step 5: There is a lot of accessible information within this site. Other authors have spend many man-hours developing these turorials. Likely they have done a better job than I could have done. I definitely don't have the time to cover all the information they can provide. You can most like find any information you need if you just look. Of course, if you can't find what you need, e-mail me ..... maybe I can. |
Step 6 - Our Free Web Page ConstraintsNext Step - Policies for Page Acceptance | |
Next |
1 | 2 | 3 | 4 |
5 | | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| A "free" web page has it limits. But be assured our constraints are not that restructive! |
Step 6 - Web page constraints defined for your hosting of a free SIG web page.
The limitations of what can be used with the design of your free web page are due to the demands on the memory of our server. Listed below are some of the things allowed and prohibited.
Summary Step 6: You feel the above would limit your learning? Well, It won't! To illustrate what a web pages could be, a friend of your web master, "John Doe", composed a typical web page. If you would like to see his page, then click his web page URL address. http://njseniors.net/sig/johndoe/ |
Step 7 - Policies for Page AcceptanceNext Step - Upload Page Procedures | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| What are the "can do's" and "cannot do's" ? |
Step 7 - The requirements for interfacing with the NJSeniors.net host.
Example: This
image is secured from a non-SIG server.coding techniques.
Instructions Step 7: If you have not seen this web page before, then you may surf the links on Sure he has is broker provided utility, but it takes too much time.
Summary Step 7: Regarding our free web page offer: |
Step 8 - Upload Page ProceduresNext Step - Replacing the Initial Holding Page | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| What is done to make the Web Page, and get it on the Internet? |
Step 8 - Procedures for your development and uploading your web page.
What will you have to do?
What will your SIG webmaster have to do?
Summary Step 8: Now you know why the web page is FREE. Nobody is going to make it for you. The use of our offer is to encourage you to learn to author your own page. When you have that done, NJ Seniors will give you the opportunity to place it on the Internet. |
Step 9 - Replacing the Initial Holding PageNext Step - Secure Your Initial SIG File | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
| 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| When will you be able to place your page on the internet? |
Step 9 - NJ Seniors provided a "place holder" page, you need to replace it.
When you have completed the Steps 1-19 as Beginners and Novices your page can be sent to the SIG wemaster for uploading to the NJ Seniors server. For Skilled authors, when you have similar components, and have a page for review, it can be posted. Instructions Step 9: Review the steps above. Be sure you understand what is expected of you and the SIG web master. As members of the SIG group all other members are expected to provide answers if they wish to respond to your email.
Summary Step 9: I guess you are ready! Let's code! |
Step 10 - Secure Your Initial SIG FileNext Step - Modify, Save and Run Your File | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top |
| Let's Get Started with the Authoring Your Free SIG Web Page! |
Step 10 - Secure your initial SIG Web Page provided by NJSeniors.Net
Well, just to get you started we have written an elementary HTML file. Please note the following about the "text" seen within the "textarea" below:
It's a HTML rule: HTML coding is "blocks-within-blocks" with no exceptions.
What is an interesting fact about HTML, is that if you don't "end" the blocks properly, the browser themselves will "close" many of the "unclosed" blocks. We will encounter HTML blocks that must have a closing tag. An example is the TABLE block. The reason is simple, the browsers cannot process the TABLE block until it is close.
Instructions Step 10: Code you first Web Page
Summary Step 10: What did you see when you "ran" your webpage? It should appear as a large text phrase "My Web Page" with black text on a white background. View:
Did you note the text seen in the broswer's Title Bar. We are no longer going to document the procedures of securing your file off the desktop for your Notepad+ editor. Nor are we going to document saving your file, nor using your browser to view your file. We will ask you to open, edit, "cut and paste", change, add or delete code, and save your file. We will provide "textarea" boxes to help with coding. You may need to "cut, paste and modify" some code. |
Step 11 - Modify, Save and Run Your File.Next Step - Defining Font Color and Size | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | |
12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| Create and save yut fiste web page |
Step 11 - Modify, Save and Run your "yourname.htm" file.
Our school solution images are those of John Doe. So we need to alter the file. At this point we need to modify (edit) the two literal statement.
Instructions Step 11:
After editing:
Summary Step 11: At this point you need to SAVE the file due to the edit change, then you will want to see the effect. This need not be time comsuming. One thing we can do to save some time is to not CLOSE the editor. We also need not OPEN the browser to see the new page. If you SAVEed the file it was saved on the Desktop, and you need not CLOSE the editor. If you then right click the browser image, then click RESTORE(or RELOAD) the new page will be displayed.
|
Step 12 - Defining Font Color and SizeNext Step - Understanding HTML Blocks and Statements | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
| 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| Character appearance is provided by set so fonts |
Step 12 - Add FONT Color= elements and FONT Size= elements.
The use of HEADING blocks has its own features. They are presented on a separate line, in bold form, and followed by a blank line.
Instructions Step 12: Replace the HEADING block with a FONT block. Note the presence of the "comment" tags. Note: All text used within HTML coding can be of uppercase, lowercase, or mixed case (with a few exceptions). Why? The browsers read the file text and convert all of it to lower case. How do we know that is true? It is because of the lowercase of the "exceptions"! One of the exceptions is the space chatacter, " ".
Summary Step 12: One thing you may note is that the "case" of the text of an HTML tags is of no importance. Almost all text used is converted to lower case. HTML coding could be a "mell of a hess" is the editing require case sensitivity. There are exemptions to this "case sensitivity", especially in the strings used for specific characters. Note the difference in text for between and
| ||||||||||||||||||
Step 13 - Understanding HTML Blocks and StatementsNext Step - Define Head and Body Blocks Functions | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | | 14 |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| HTML consists of two types of statements: Text and HTML Tags |
Step 13 - Understanding the concept of HTML blocks and "statement" tags.
blocks and statements. HTML is composed of two types of types of strings, text and HTML tag strings. HTML tags are generally two types, "block" and statements.
Summary Step 13: The components of an HTML file contains statements written in straight text and numeric characters. The strings that are HTML tags controls how your browsers process the presentation of the textual information. The HTML statements are responsible for the retrieval and displaying of the graphic images presented on the pages. The graphic images seen on Web pages are NOT written in the HTML language. The graphic files are generated with other programs or devices, like a digital camera or a scanner. |
Step 14 - Define Head and Body Blocks FunctionsNext Step - Define Text and Background Colors | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | |
15 | 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| The Head block contains browser instructions. The Body block present the web page. |
Step 14 - Understanding the function of the HEAD and BODY blocks.
HTML files are similar to programming languages, but it is not a true language. The HTML file is just a sequence of textual statements that is read by special file processors called a "browser". The browser reads the statements serially, and interperated them, then process the HTML tag statements, and displays the non-HTML text strings. The first block is called the HEAD block. Like a human being, the HEAD block defines the controls for processing the file. Nothing in the HEAD block is seen on the page except for the textual content of the TITLE block.
While the HEAD block manages the processing that the author wants the browser to do while presenting the file, the BODY block actually contains the content of the page, and has the control tags to do its presentation. In otherwords, the HEAD block is the mental aspects of the file, while the BODY block is the physical aspects of the file. Thus, the rational for the names, HEAD and BODY blocks.
Instructions Step 14: At this point it is important that you know this procedure. How to observe the HTML code of your web page file directly with your browsers. This is accomplished by use of the Menu Bar's VIEW command. Clicking VIEW will produce a "dropdown" box (sort of a sub-menu). Among the choices there is one that relates to viewing "Page Source" or "Source". The Netscape browser with launch an addition window displaying the text of the file, but you can not change nor ever "mask, and copy" the HTML code viewed to the system's "clipboard. To view the source code, click the following image, then use your borwser's VIEW and "Source" choice. Click the source
Summary Step 14: The best source of HTML code for learning to code HTML are all the millions of files that are out there on the Internet. Most of the files are not protected from viewing, but it is possible to do so. |
Step 15 - Define Text and Background ColorsNext Step - Add Margins an Center File | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
| 16 | 17 |
18 | 19 |
20 |
Up | Top | |
| So far our page has the "default" colors, a white background and black text. |
Step 15 - Add BODY block's TEXT= and BGCOLOR= elements.
Our page can be easily colored. The background can be colored with "fixed" shades of color. There is three types of parameters that can be assigned to the different "color related" HTML tags. At the moment we are presenting two of the elements, TEXT= and BGCOLOR= (background color).
The three forms of argument are: red", firebrick, tomato darkred. Did you notice that Tom and Harry were not very colorful. They can honestly blame their parents. ![]()
Instructions Step 15: Let's assign our background an orange color, and our text a navy color. Both of these "element=argument" text string are placed within the beginning BODY tag. Before editing:
After editing:
Literals that include a space, like the FACE="ms sans serif" argument of the FONT tag, must be double quoted.
Summary Step 15: We now know some of the secrets to being more colorful author. Before , and
After .
Check the source code of both files.
|
Step 16 - Add Margins and Center FileNext Step - Add "Refresh and "E-mail" Links | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | | 17 |
18 | 19 |
20 |
Up | Top | |
| How can we position the text in our page? |
Step 16 - Add a text margin BLOCKQUOTE block and CENTER block.
The default for the presentation of text is "left justified". We can position both text and graphics by use of various "alignment" arguments within tags, or use of various "alignment blocks". Here we will study two "alignment" blocks. The <BLOCKQUOTE> ••• </BLOCKQUOTE> block is used to provide "margin indentations", like we use in many hardcopy documents. The <CENTER>> ••• </CENTER> block is used to provide center the presentation in the center of the display area.
Instructions Step 16: Our page before our edits .Insert Blockquote block: .Check the source code from your browser.
Replace Blockquote block with a Center Block: .Check the source code from your browser.
Using the "textarea windows" and "constant color literals": Bet you have not noticed that the "textarea" window is "dynamic", meaning the contents can be altered right NOW. Try this! Change the color of the text element to some other color. Then, change the background color. Here is a link to a page that presents the defined literal colors coded into most browsers.
Constant literals
Summary Step 16: The <Blockquote> and <Center> HTML block are just two of many techinques used to align text. |
Step 17 - Add "Refresh and "E-mail" LinksNext Step - Document the File Update Date | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | |
18 | 19 |
20 |
Up | Top | |
| Let's look at the two HTML "Anchor" blocks |
Step 17 - Add both a "Refresh" and an "E-mail" link. What is a link? As the word implies, it it a "way" to connect with either another window file on your computer or a file on the Internet. The second form of link is to another computer, such as your e-mail utility. There are links to other entities, as an example, you used a link to download the Notepad+.exe. In HTML coding, links are provided by a tag called an "anchor block". For our first use of a link will be to "refresh" our current window. We can use a link to link to a graphic.
If the link is to a graphic which is "dynamic" (time dependent), such as this one,
This graphic is a "PNG" file, and is quickly re-generated by Yahoo! every few minutes. This graphic is "dynamic" while the stock market is open.
It is not uncommon to find "e-mail" links on a web page. This form of link (anchor tag) contains two elements, the "mailto:" directive string, and an "e-mail address". The anchor will send the "e-mail address" element to your computer's default e-mail utility. In our effort not to effect an e-mail we will hopefully use an "invalid" email address. The syntax or form of the Anchor block is shown below:
Instructions Step 17: First. What we are going to do is add to our web page, a link which will refresh itself. Second, we are going to add an email link to the author. Let's assume this is the page-to-date. See
and View source, then 'BACK'.
First. What we are going to do is add an anchor to our web page, a link which will refresh itself. Second, we are going to add an email link to the author.
and View source, then 'BACK'.
Summary Step 17: Above are examlpes of the most common link, a linkage to another window, and "mailto:" linkage to permit the system to initiate an e-mail to one or more e-mail addresses. |
Step 18 - Document the File Update DateNext Step - Upload Your Page to the Internet | |
Next |
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 | 16 | 17 |
| 19 |
20 |
Up | Top | |
| Why don't we date document our page date! |
Step 18 - Add an "Update:" javascript. Currently we are displaying a title for your page, the web address of the file so we can refresh it, and an email address. The next thing we might like on the page is the last time the page was written, changed or update. If that is what you want then you would have to add a textual statement on the page. Using any of these three date gets to be a problem as we have to remember to change the date in the code. If you will accept the following suggestion, you will have "a date" altered automatically. This date may or may not reflect any of the dates memntion, but it will inform you of the date it was upload to the Internet. This is called the "posted date" for the window, i.e., the date on the "server", which is where the source of your page is located on the Internet.
Before inserting the posted date's "javascript" code, we will have to decide where to place the date. Let's put our posted date at the "bottom" of our page. How can we insert some vertical spacing on our page? We could add a series of "break" statements. We use an HTML "statement", which is a tag that needs no "terminating" tag. A "break" is what ia called a "carriage control/line feed". When using a typewrite, this term reflected the use of the metal arm on the typewrite to rotate the carriage up one line and move it left for the new line. So, we could use the following code.
There is a slight disadvantage to using the Break tag. That is because the vertical spacing is a factor of the FONT character size. The viewer has full control over the FONT size when using browsers. But he has no control in altering the appearance if images on the page as image sizes are define by the author at design time. So what we want is an image the will lenghten the page, yet not be seen. Many authors use an image that is "clear", i.e., it has no color. What is used is a common one pixel image. Since the HTML "image" tag can have its width and length defined, we can use the tag documented below.
Once we have provided some vertical spacing, we can add an HTML "script" for the posted date. The "script" code we will use is HTML, but the "Javascript" is NOT. What our code does is request a third party's computer programming language to execute a "program", namely Sun Corporation's language called "Java". In this case, the Java code retrieves the posted date from the internet "server", and sends it to your "browser". Only then can the browser display the date on your page. Below is the HTML "script" that we can "cut" and "paste" into our file.
Instructions Step 18: Before editing: (we documented where the inserts should be placed) |