|
|
|||
|
|
|||
Using Netscape Composer | |||
Topics Full Document I. IntroductionComposer is a web authoring program that is included with Netscape Communicator. With Composer, you can easily create, edit, and publish web documents. Using Composer is similar to using a word processing program in that you can access most of the options and features from the main menu and the toolbar. Composer allows you to select type elements, such as size and style, choose colors for text and links, and set a background color for your page. You can also include features in your page such as graphics, links, horizontal lines, and tables. II. Creating your page in ComposerTo start your web page in Composer, open Netscape, then go to the Communicator menu and select Composer. Note that the Communicator menu may appear as the Netscape icon on the main menu bar. As you create your web page, you can easily format your text and modify the various elements as you add them. These elements include horizontal lines, lists, links, tables, and graphics. You can also select colors for text, links, and the background of your page. A. Formatting your pageAs you create your page, you can use the formatting toolbar to select the text style and size and attributes such as bold, italic, or underline. This toolbar also offers options such as color, tabs, and alignment. You can also go to the Format menu and select Character Properties (PC) or Character Info (Mac) to set these formatting options. B. Adding a horizontal line1. From the main menu, select Insert and then choose Horizontal Line. 2. If you wish to modify the line, click on the line to select it. Then, from the main menu, select Format and then choose Horizontal Line Properties (PC) or Horizontal Line Info (Mac). 3. At the Horizontal Line window, you can choose line properties, such as dimension, alignment, and shading. If you are using a PC, you can also set the properties that you select as the default setting for additional horizontal lines that you may add to your page. 4. Finally, click on OK to set the properties. C. Creating a listFrom the Format menu, select List and then choose Bulletted. A bullet will appear and you can start to create your list. When you finish typing an item in your list, press Enter to add a new bulletted line. When you finish creating your list, press Enter to move to the next line and add a bullet. From the Format menu, select List and then select None to deselect the bullet formatting and remove the last bullet. D. Adding external linksWith Composer, you can include external links to your page. Links that go to another web page are considered external links. An external link can bring the reader to another web site or to an HTML file that you have created. To create an external link: 1. Place the cursor where you wish to create the link or highlight the text that you want to display as the link. 2. From the main menu, select Insert and then choose Link. 3. At the Character Properties (PC) or Format (Mac) window, check that the Link tab is selected. In the Link source (PC) or Linked Text (Mac) box, type the address of the link, or, if you highlighted text in step 1, it will appear in this box. 4. In the Link to box, enter the complete address for your link. For example, if you are adding a link to the Temple Web Kit page, you would enter the following address for the page location: http://www.temple.edu/cs/web Or, if you are adding a link to a file that you have already uploaded or published in your public_html directory, you would type the filename. For example, if the filename is resume.html, you would type resume.html. (If you need to check your Astro account for the filename, refer to the instructions in section V, under To determine the path name of your public_html directory.) 5. Then, click on OK. E. Adding internal linksWith Composer, you can also include internal links to make your document easy to browse. An internal link is composed of two elements: a link and a target or anchor. A link can be clickable text or a graphic that takes the reader to another point on the same web page; a target or anchor is the destination point of that link. For example, if you have a long report on your page with headings that introduce each new topic, you can create internal links to make your document easy to browse. To do this, you would first create a table of contents that includes all of the headings at the top of your page. These headings would then function as individual links that connect to their corresponding section or target within the web page. Therefore, when you click on a heading, the browser goes to that particular part of the document. If you wish to create an internal link, you must first create the target or anchor and then create the link. When you create a target for an internal link, the target icon will appear in your Composer file, however, this icon will not appear in the browser window. To create an internal link: 1. Place the cursor where you wish to create the target or highlight the text for the target. 2. From the main menu, select Insert and then choose Target. 3. At the Target Properties window, type a name for the target or, if you highlighted text in step 1, this text will appear. 4. Click on OK. A target icon will display in the Composer window. 5. Then, highlight the text that you want as your link. 6. From the main menu, select Insert and then choose Link. 7. At the Character Properties (PC) or Linked Text (Mac) window, check that the Link tab is selected. In the Link source box, check that the name of the target you created in step 3 appears. If you created more than one target in your page, select the target you want for your link. 8. Then, click on OK. F. Adding a table1. From the main menu, choose Insert, then select Table, and select Table again. 2. At the New Table Properties (PC) or Insert Table (Mac) window, you can choose from a variety of elements to define your table. These elements include the number of rows and columns, table alignment, and background color. You can also include a caption, set the cell spacing and padding features, and select the width and height of the table. 3. After you select the features for your table, click on OK (PC) or Insert (Mac). 4. If you wish to change any of the elements of your table, first click once inside the table. Then go to the main menu, select Format, and then choose Table Properties (PC) or Table Info (Mac). 5. At the Table Properties (PC) or Format (Mac) window, you can make the necessary changes to your table. After doing so, click on OK. G. Adding a graphicNote that in order to use a graphic on your web page, the graphic must be in .gif or .jpg format. For more information about using graphics on the web, refer to the document Using graphics on the Computer Services Web Kit site. To add a graphic to your page: 1. Place the cursor where you want the graphic to appear on your web page. 2. From the Insert menu, select Image. 3. At the Image Properties (PC) or Format (Mac) window, check that the Image tab is selected. Then, in the Image location box, type the location of the file you wish to insert in your web page, or click on Choose File to select the file and then click on Open. 4. If you want to align text with the graphic or place text around the graphic, click on the button to select the style. 5. Then, click on OK. 6. Finally, if you wish to change the size of a graphic, move the cursor to one of the corners until a diagonal double-headed arrow appears. Then click and drag the arrow to proportionally resize the graphic. Note that if you drag the horizontal or vertical double-headed arrow, the graphic will stretch horizontally or vertically. H. Setting page propertiesWith Composer, you can set a number of features for your web page. These features include selecting a color for text, links, and background. You can also use a graphic as the background for your page. To select page properties: 1. From the main menu, select Format and then choose Page Colors and Properties (PC) or Page Properites (Mac). 2. At the Page Properties window, check that the Colors and Background tab is selected. Then, you can select colors for text, links, and the background of your page. To select a color, click on the box to the left of the particular text, such as Normal Text. A color palette will appear and you can then click on your selection. I. Using the spell checkAfter you create your web page, you have the option of using the spell check feature in Composer. Using the spell check in Composer is similar to using this same feature in most word processing programs. Before you use this feature, you should save your work. To check your spelling, go to the Tools menu and select Check Spelling. The Check Spelling window will then open. Composer will stop at any word that it can't find in its dictionary and may offer one or more suggestions. Your options include choosing one of the suggestions or ignoring the suggestions. When Composer finishes checking your page, the Done button will appear in the Check Spelling window. You can click on this button to close the window. III. Saving your pageWhen you create your web page in Composer, you may be prompted to save your file. As with most word processing programs, it is good practice to periodically save your page as you create it. If you are creating your main page, be sure to name it index.html. When you upload this file to your Astro account, it will automatically display as your opening web page. If you subsequently create other pages that you wish to link to your main page, you can call those pages whatever you want. The filename, however, cannot contain spaces or special characters and it must end in .html (such as report.html). To save your page: 1. From the File menu, choose Save. 2. In the Save As window, select where you want to save your file, type the file name, and click on Save. Note that the first time you save your page, you will be prompted to enter a page title which will appear in the title bar of the browser window. In the Page Title window, enter a short title that describes your page. IV. Viewing your pageAs you create your web page in Composer, you can view your page in the Netscape web browser and check any links that you created. Before you open your page in Netscape, you must first save your file in Composer. Then, if you wish to modify your page, you can return to your web page in Composer and make the changes. To view your page in Netscape Navigator: 1. Save your page as described in the previous section. 2. From the File menu, select Browse Page. Your web page will then open in Netscape. 3. To return to your page in Composer, go to the Communicator menu and select Composer. V. Publishing your pageWhen you are finished creating your web page, you can use the Publish feature in Composer to upload your page to your public_html directory in your Astro account. With the Publish feature, you can upload all files that are associated with your web page at one time. Before you use the publish feature in Composer, you should see if you have a public_html directory your Astro account. If you do not have this directory, you will need to create it. In order to use the publish feature, you also need to know the full path name of your public_html directory. For instructions on checking your Astro account for a public_html directory and creating a public_html directory, refer to the document Going public: Use your Unix account to present your page on the Internet. This document is available on the Computer Services Web Kit site. To determine the path name of your public_html directory: 1. Log in to your Astro account. 2. At the Unix Menu, press 4 and then press Enter. This brings you to the Unix system prompt. 3. Type cd public_html and press Enter to access your public_html directory. 4. Type pwd and press Enter. The pwd command stands for print working directory and displays the full path name of your public_html directory. 5. Then, if you wish to see the files that are in your public_html directory, type ls and press Enter. To publish your web page: 1. From the File menu, select Publish. 2. When you saved your web page in Composer, you included a title which appears in the Page Title box and a file name which appears in the HTML Filename box. If you wish, you can change the title and file name. However, you must include .htm or .html in the file name. 3. In the HTTP or FTP Location to publish to box, enter the full address of your home directory on Astro. For example, if the full path name of your public_html directory is: /home/a002/jdoe/public_html, you would type the following information: ftp://astro.temple.edu/home/a002/jdoe/public_html 4. In the User name box, type your loginID for your Unix account. 5. In the Password box, type the password for your Unix account. 6. If you included graphics in your web page, check that the Files associated with this page option is selected. Then check that each graphic file on your page is selected. 7. Finally, click on OK (PC) or Publish (Mac). 8. When you receive a message that your files were uploaded successfully, click on OK. VI. Accessing your web pageYou or anyone else can now access your web page by typing the following address in the Location window: http://astro.temple.edu/~Acessnet-username For example, if your AccessNet username is jdoe, you would type http://astro.temple.edu/~jdoe. The tilde character (~) is located on the upper left of the keyboard. When you specify this address, the system will display the file in your account named index.html. Updated 7/25/03 |
|||