Traditional Culture Encyclopedia - Hotel accommodation - How to modify html page template How to modify the content of html page template
How to modify html page template How to modify the content of html page template
how to modify the website background template html? How to modify the html of the website background template:
To change the template in the template directory, just modify it in the templates/default/index.htm file in the root directory.
it is useless to edit index.html with Dreamweaver. When a static page is generated in the background, it will overwrite what you just modified.
So you need to modify the template file, and hope the index.htm homepage template.
when you put an HTML file into Dreamweaver, it will be a pile of code. You only need to modify CSS and image path.
it can be changed to the virtual path of your computer. Describes other program tags. Please check the relevant system labels.
after modification, you can see the web interface intuitively in Dreamweaver, and it is also very convenient to modify. Remember to change the CSS path back after the template is modified.
theme composition: the template is divided into three parts, namely, html file, CSS file and picture file.
how to move the title to the right in p>html?
1. The label is in the same position on each page, and the effect is that the label has not moved, but the following content has changed.
2. the ifram is shown below, and click the label to change the ifram address.
3. The following things are dynamically requested after clicking. (Request data and then render it through the template. Or directly request the html, css, js inside and then plug it into the page). Personally, I recommend the first one, and many websites also use the first one.
how to use DW to modify the connection above the HTML template. What should we do?
just entering dreamweaver, click "more" under "new", and then select a blank page, with html template as the page type and none as the layout.
insert a table (select insert in the menu bar, and then find the table), and set the layout in the table according to your needs. Here, I set the number of rows as 5, the column as 1, and the width of the table as 1 pixels. After inserting the table, select the whole table. After selecting, the table box will be bold and black, and the bottom will be set to center alignment.
insert an image in the first row of the table (select Insert in the menu bar, and then find the image), and add scrolling subtitles in the second row. Insert the table in the third row (as above), with 1 row and 4 columns, and the width of the table is 1%. After the table is inserted, select the table in the third row. After the table is selected, the border of the table will be black and bold, and the table will be centered and aligned at the bottom with a width of 2%.
select some words in the third line, such as home page, Li Bai, Du Fu and Bai Juyi. Create a new css file, build another css, set the colors in the type and the colors in the background, and distinguish them. Select the third line, use the new css just now, and then create a new css, which is used in the border of the table.
insert an editable region in the fourth line. Click OK, the text in the editable region, namely EditRegion3, can be removed, and the line break can expand the area of the editable region.
in the fifth line, I inserted an editable area, and I also inserted a horizontal line, and added the copyright. Finally save. At this point, the template has been built.
Create a page in the template, find the new template, create and save it as index.html (the homepage of the website), then reopen the new template, forecast and input Li Bai's information in the editable area, and save it as libai.com. At this time, you will find that the content can only be input in the editable area, and other areas are inoperable. This is the characteristic of the template. In the same way, two new web pages are created as Du Fu and Bai Juyi.
Now we just need to connect the above pages with hyperlinks. Select the home page in the template, and enter the name of the home page in the link in the html below, that is, index.html. Similarly, select Li Bai, Du Fu and Bai Juyi to connect them. After the hyperlink is completed, there will be an extra horizontal line below the text.
After you finish it, open it in the index.html to see the effect. Click the little earth icon in the picture to see it.
how does p>dw turn a blank page into a page in a template?
just entering dreamweaver, click more below new, and then select a blank page, with html template as the page type and none as the layout
DW How to set the background?
1 First, we find the Dreamweaver icon on the desktop, and double-click to open the software
2. After opening it, we click File-New Command
3. Then we create a new HTML webpage
4. We click Modify and click Page Properties. The shortcut key is CTRL+J
5. We can see the page settings at the bottom and right click
6. The background color is modified first, and we choose the background color. Then
7. If we choose the background picture, we will find our material, click Add, and then we will click OK.
How to quickly switch between uppercase letters and lowercase letters when writing html, and how to improve the input speed?
dreamweaver has input prompts, which is faster than ordinary text editors. You can switch case by pressing shift. If you want to improve the speed, the typing of characters will never be fast. Experienced people are all based on their own typesetting habits and templates, so focus on accumulation and summary. Come on!
- Related articles
- What if the gym closes down and the company cancels?
- Where is Beijing Xiangda International Business Hotel?
- Is the foot massage in Suixi Yuanhe Hotel regular?
- What online celebrity hotels are there in Sanya?
- How to let the staff of the hotel housekeeping department control the cost and improve the efficiency?
- How about the Baini River Hotel along the river?
- Are there many cars in Genting Hotel, Malaysia?
- What scenic spots are there in Guangxi?
- Service facilities of Shangri-La Hotel Fuzhou
- What is the telephone number of Guangyuan Tangshan International Community Marketing Center?