The website consists of pages, and the home page is a special page.Web pages and home pages are easily confused. They are two different concepts.Web page generally refers to the page that can be browsed by users on the Internet, and home page refers to the first page that users see after entering the website, so the home page is also called home page.The website is like a book, and the homepage is the introduction and oral record of the book,Website constructionThe middle page is the content introduced in the following chapters.There are many links on the home page for users to click and visit.Generally, all pages in a website are placed in the root folder, and the relationship between the home page and other pages usually has three types: layered child structure, linear structure, and Web structure.
The layered structure is similar to the tree structure of the directory system, as shown in Figure 1-2-3. It starts from the home page of the website file, and is divided into first level titles, second level titles, etc., which are refined level by level until the specific information of the first viewer is provided.
The linear structure is similar to the linear table in the sub data structure, as shown in Figure 1-2-4. It is used to organize the information in its own linear order form, and can guide visitors to browse the entire website file step by step.This structure is generally used on pages with parallel content.
Generally, the structure of website files is a combination of layered structure and linear structure.This structure is called Web structure, as shown in Figure 1-2-5.This structure can make full use of the respective characteristics of the two structures, so that the website documents are not only organized and standardized, but also meet the requirements of designers and visitors.