Fourth lecture to create a site

xiaoxiao2021-03-06  14

Everyone is preliminantly familiar with the use of FrontPage, you can consider the design and establishment of the website.

Generally speaking design a website has the following basic steps:

The first step, according to the requirements, write design

1. Determine the site's directory structure, column settings

2, determine the web page style

In the second step, according to the design, collect the material required

Text, image (animation), and script, etc.

The third step, based on the design, production website

1, create an outlet

2, create a single page

3. Publish and debug on the server

Of course, it is not necessarily all steps to spend a lot, and some can think about it. You can also do it while thinking.

Although the initiator's learning focus is web-made, but should not ignore the site structure design.

The so-called design website is to determine the main information of the website needs to communicate, and the rational organization of this information is planned, and the structure of the entire website is planned. This will be clarified in this future work.

For example, the old urchin has two main purposes when establishing a website. First, the summary of some of the experience results in the previous work is given to you, and the other is to enrich the old life. Therefore, it is determined that "the old urchin website" sets "Computer World" and "The Elderly Paradise" sector. Among them, "Computer World", "Computer Exam", "Computer Teaching" and "Industrial Control Park", etc., "Elderly Park", "Seniors", "Life Life", "Tourism World", "Art Garden, "and" Online World "sectors.

Such a multi-sector consists of hundreds of web pages, plus the images have thousands of files. If you are scattered in all parts of the hard drive, you cannot make web pages publish and manage. A special folder must be created in your computer and you need a set of subfolders according to the sector to make a set of sheets, and place a block file file in a subfolder. This dedicated folder is the site. So the establishment website is actually an establishment of these folders, it is clear that we can complete it with the resource manager. But use FrontPage to create a website will give us some additional management functions, such as checking hyperlinks. After establishing the site with FrontPage, you will automatically generate files you need to run, and the webpage created in the future will be included in the management of the entire site. First, create a local site local site refers to a folder that is specifically used in the local computer. This folder's name is the name of the site, and all sites will be stored in this folder. Directory and the subfolders below. The so-called creation of a local site is to create a series of folders and files at the specified location of the local computer. In addition to editing the personal home page of our personal homepage in the local site. You can also treat it as your own database, the local site can link the information of the local magnetic (light) disk; so that we can easily browse and query this information. But if you want others to browse through the Internet, check this information, you must use the FTP software to edit all files and folders on the specified server of the Internet and give it an URL. This way you can access your personal home page (website) through the Internet. In order to access the smooth, the relative position of the file and folder in the local site and the relative position in the Internet site should be exactly the same.

1. Creating a site Open FrontPage, click the File menu, select Site in the New submenu, as shown on the right. In the open "New" dialog (below), you can find 8 wizards and templates of the website, "Import Site Wizard", "Company Display Wizard", "Discussion Site Wizard" is wizard, and other 5 templates . The "template" is a basic framework with a pre-designed web page or web site. After creating a basic framework, you can insert your own content. The so-called "wizard" is a fixed operation process guides. Divided into several steps in the orientation program, there are some options to provide users, and the user can create a site in accordance with the steps specified by the program. Although the use of templates and wizards can easily establish a personal site, but if you have your own style, you have to design it according to your hobby. This can choose "empty site" template, then enter a folder name in the "Specify new site" box, the folder can be built in advance (such as "D:" D: / Web Page "), or it can be established. Re-establish it when the website is. New site menu "New Site" dialog

If we enter "D: / Page Exercise", let's click the "OK" button. The "Creating Site" dialog box appears on the screen, indicating that the system is building the files and folders required to support the site, and then return to the "Web" view. The new site is created. After the site is established, we open D: "My Computer" or Explorer "folder on the disk, you can see that both _private and images have two folders, they are stored in them. Some files must be in the site. In the FrontPage window, select the "Folder" option in the "View" menu (below the left) to make the FrontPage window into the Folder view (bottom right).

"Folder" option "folder" view in the "View" menu

From the "folder" view: "D: / Web Practice" folder, we have the two files established in the class ycjf.htm and YFDKR.MID, and there are more _Private and images. folder. The _private folder mainly stores some private content, usually do not want others to see; "Images" are used by the store, put the image files in the folder "Images" in the smaller website. The files on the root of the site will not be too messy. In addition to these two folders, there are other hidden folders to store files that support site work. Click the "Folder List" button in the common toolbar, you can also open the Folder List field, but there is no file window on the right, but also the "Web page" window. The files in the current folder are displayed directly in the folder list, which is less clear in the file.

The left window is the "folder list" column, the right window is a web page

2. Close the site Turns off a site. It is easy to use "Close Site" in the File menu. 3. Open the site Before making a web page, you should first open the new website, otherwise there will be no relationship between the webpage and the website, and it is not possible to manage effective management. There are two ways to open the site in FrontPage 2000: the first, open the site directly: Click "Open Site" in the File menu (Note: Not "Open") option, then in the "Open Site" dialog box The "Finding Scope" drop-down list box Select the hard disk where the site you want to open, and then select the site (folder) you want to open in the site list, and then click Open. The following figure is to select the dialog box for "web exercises" local site in the D: disk. If the site is just use, you can click the File menu to select (click) The recently opened site (folder) in the "Recently used Site". "Open Site" "Open Site" dialog in the File menu

Second, open a web file in the site, you can open this site at the same time: Click the "Open" option of "File", or click the File menu, select (click) in the "Recently used file" Recently opened files. You can open a web file. 4. Delete a site If too many sites are established when doing exercises, you can delete these excess sites. The folder of these sites can be directly deleted in the resource manager, or you can delete it in FrontPage: 1) Open the site you want to delete. 2) Click the Folder List button in the Common Toolbar to open the Folder List. 3) In the "folder list", select the folder of the web site, then right click, and pop up the shortcut menu shown in the left. Select the "Delete" function, a "Confirm Delete" dialog box (right) .

4) Select "Delete the entire Web Site" radio button in the dialog box, then click the "OK" button, PRONTPAGE will automatically delete the site together. And select "Only Delete ProntPage Information in this site ...", the folder is still retained, but PRONTPAGE does not see it as a site. Second, the file management 1 in the site, the general method of the file management creates the folder created when the site is not necessarily in line with our needs, and the user can create (or delete) your own folder in the site. For files in the site, you need to be managed frequently. For example, you will be deleted without using the file, move the same class file to a folder, and so on. But to delete the folder established in the site, it should be cautious. In particular, don't delete the "hidden" folder.

These work can be done in the resource manager or to implement various file operations directly in FrontPage. This is the "Folder" command in the "View" menu or the folder list button in the common toolbar. But FrontPage's Folder view can only operate files in the open local site. The operation method is the same in the "Resource Manager" in Windows 98. Let's take a brief introduction below, you can practice it yourself. 1) The file (clip) change and delete the management file in FrontPage first opens the site and use the Folder command. In the "folder" view, click Right-click, which will pop up the shortcut menu shown in the right picture, select the corresponding command, you can realize the file's rename and delete. 2) Replication and movement of files (clips) can be moved (clips) after selecting files (clips), and then press and hold the CTRL key when dragging. The shortcut menu that combines the right file can also be copied and moving the file (clip) with copy → pastry and clipping → paste. 3) Creating a folder Select the folder to create a subfolder as a parent folder, click the Frequency window of the FrontPage window, move the mouse to the "New" option, click the file in the submenu appeared on the right. The clip "option will generate a new folder" new_folder "in the parent folder. You can enter the new folder name directly to replace this temporary name. "New" submenu 2, establish the homepage file index.htm In the default, the home page of the website is index.htm. When we enter the URL in your browser, you will automatically open the web page named index.htm. The FRONTPAGE "folder" view allows you to automatically generate a homepage file named index.htm in a newly established website. [Example] Create Home File INDEX.HTM 1 in the previously established "Website" website) Open the FrontPage window and open the "Web Press" site. 2) Click the Folder option in the View menu to enter the Folder view. 3) Click the "New" button on the Common toolbar that automatically generates a web page called "index.htm" as shown below.

New web page "index.htm"

2. Import files into the site after establishing a site, _private and images two folders or empty, we must also copy images, sounds, videos, etc. required by the web page to the site. You can copy files with the resource manager or in the FrontPage window. However, FrontPage called "import" this process.

Import files in the FrontPage window must be made in the Folder view, and you should open the destination folder first. The specific steps are given below: [Example] Import the image file in the Background folder into the "Image" folder of the "Web Exercise" site. 1) Open the FrontPage window and open the "Web Press" site. 2) Click the Folder option in the View menu to enter the Folder view. 3) Click Folder "Images" to open it.

4) Click the File menu, click Import in the drop-down menu (lower left) to open the Import dialog. 5) Click the Add File button in the Import dialog box to enter the "Add the file to the Import List" dialog. 6) In the "Add File to Import List" dialog box, open the folder "background" in the "Finding" drop-down box, select the file to import (can not exceed 10), as shown in the right Indicated.

Import file "Add files to Import List" dialog

7) Click the "Open" button to return to the Import dialog:

The "Import" dialog of the file is selected

8) In the Import dialog box, click the "OK" button, the file is imported into the site:

[Practice] 1. According to your preference, conceive a personal website, initially determine the contents of the homepage and the pages. 2. Set the folder "Web Press" to the site, import some pictures or sound files into the website and create a homepage index.htm.

转载请注明原文地址:https://www.9cbs.com/read-50414.html

New Post(0)