1。 First, make sure that the file extension is open on your system. The method is: open my computer, click folder options, open the folder options dialog box, and make sure that the check in front of "Hide known file extensions" has been removed. If not, please remove the tick. 2. Then, create your first webpage file. For easy management, please create a folder to store your web files and pictures. Right-click the folder you created and select New, Text File.
3. Then, rename this file as index, and change the txt after the dot to html. Such a web page file is ready.
4.html is an extension of network files. Extensions are used to distinguish the types of files, and extensions are also used to tell which software to open. For example, html will tell the browser that this is a web page and needs to be parsed and displayed as a web page.
5. Then, use Notepad to open this index.html file. Before writing, it is necessary for us to understand the basic structure of a web page: a web page consists of two parts: header and text. The head and body are contained in a pair.
6. Then, the tag is the container of the content in the web page.
7. The outermost label of the whole is
8. Then, knowing the basic structure of the webpage, I began to write the complete webpage code.
9. Finally, after saving, we preview it in the browser. As we said above. The contents of the tag will not be displayed in the browser, but we are in the
10. The title of the original webpage is the content displayed on the browser title bar. The title of the web page is not equal to the title of the content, so we write it.
This is the first-level title displayed in the browser window.
How to make floating windows in web page making?
Production method:
Enter the following code in the html software.
Page initialization effect:
Problem analysis:
The floating window in HTML can be located by CSS. At the same time, using this method to complete this function is also a relatively simple method, which only needs the knowledge of HTML and CSS.
Examples are as follows:
In the following example, floating windows with a height of 500 pixels and a width of 200 pixels are located on the left and right sides of the presentation page. The positioning method used in the example is: fixed, all scrolling with the page forever.
Hypertext Markup Language, Application of Standard generalized markup language.
"Hypertext" means that a page can contain non-text elements such as pictures, links and even music and programs.
The structure of hypertext markup language includes a "Head" part and a "Body" part, in which the "head" part provides information about the web page and the "body" part provides the specific content of the web page.
How to build a yellow pages website
1. Step 1: Open the home page of China Yellow Pages.
2. Step 2: Log in and become a member (if you are not registered, click Register).
3. Step 3: Click "Company Information" in the left navigation bar, and select the contact information to enter.
Step 4: Fill in the contact information including mobile phone number here.
Step 5: In this way, search in China Yellow Pages will display company information including contact information. Yellow Pages originated in North America, and are used in many countries and regions to represent telephone directories and correspondence directories of commercial and social groups. The world's first yellow pages phone book appeared in the United States in 1880, and it has a history of more than 100 years. The Yellow Pages is an international telephone directory of industrial and commercial enterprises arranged according to product category and enterprise nature. Mainly publish the name, telephone number and address of the enterprise, which is equivalent to the household registration book of industrial and commercial enterprises in a city or region. The international practice is to print on yellow paper, so it is called yellow pages.
What is home page display?
Put good things in the most conspicuous place on the home page for everyone to read and watch, so as to increase the number of views on your page. Home page display refers to the display of photo albums on the space homepage. If you close the photo album module, it cannot be displayed.
Click on the dressing space, and there is an add/delete module at the top of the webpage. Check the front of the photo album module to indicate display, and uncheck it to indicate no display. Save it.