Traditional Culture Encyclopedia - Travel guide - How to make web code with dw dw
How to make web code with dw dw
This is not difficult. I can make it for you. Dw web page making, how to make this framework, and the detailed steps?
Give you an idea:
1. Define the main frame.
2. Define the main frame inside the body.
3. Define the internal left frame and right frame. Generally, we type the code directly, and DW didn't touch it.
With DW, we also have a simple look, and then the operation still depends on the code. How does dw output web pages?
After writing the code in dw, click Run to Web page and select the browser to run.
How do DW insert pictures into html when making web pages?
1 and dw are auxiliary development tools. Position the cursor on the interface, click Page Properties, and set the background image. Finally, a string of css codes is generated.
2. Directly import the css file into the page, and then add a css-style background picture in the text, body {background: URL (xxx.jpg) no-repeat; }
How to introduce CSS styles into HTML pages by embedding or embedding in DW?
1. First start DW software, create a new document, and select the document type/> HTML-XHTML 1.0, and then click create.
2. After clicking Create, DW will create an HTML file for you. We add a p tag group to the body tag.
3. Then enter the code shown below in the P tag. Style means that this p directly introduces CSS attribute values. (width, height and font color of p), that's it. Attribute values should be quoted in English, otherwise it will not work.
Introduce CSS style embedding method
1. We create an HTML page and add a P tag group in the body tag.
2. Then in the head tag above (under the title tag), enter the code style tag that references CSS. (as shown in the figure below)
3. Then enter the CSS name and related styles in the tag. Pay attention to the following format, don't input less.
4. Finally, in the following P tag, introduce cass and enter the corresponding style name. As shown below, the CSS style was successfully introduced. This is an embedded method.
How to make an inner page of a web page with Dw?
Open dw and create a new html document.
You can see the default code of the page and start editing in the body.
You can use the design interface to insert pictures and add hot links.
protect
Open a web browser to browse.
- Previous article:Why is there always an epidemic in Dongxing, Fangchenggang?
- Next article:How about a tourist visa to Finland? Does Finland need a visa?
- Related articles
- Danba county travel guide
- Who is Du Yang? Vice President of Beijing Culture
- Constructing the extension window of game activities: the construction and extension of scenery
- How to avoid catching a cold while traveling How to avoid catching a cold while traveling
- Where to go for spring outing?
- What aspects should be improved to strengthen infrastructure construction and health management in farmhouse eco-tourism?
- Guizhou ethnic tourism resources Guizhou ethnic tourism resources
- Is it better to go to honeymoon in July, Phuket or Japan for sightseeing?
- Yongjia County belongs to which city in Zhejiang?
- What should I pay attention to when visiting Murong Miao Village?