Speaking of Dreamweaver8, I believe everyone is more familiar than me, maybe someone said Dreamweaver8 is a development tool, that development tools, I think so, Dreamweaver8 is a professional web development tools; So in the development of the point of view I am an absolute rookie, can be said to be ignorant, before did not do the development of the first thing, and now began to touch slowly, so every night to see the Java, HTML, JSP related document learning, at the same time, As we all know, the normal page program file modifies the extension to define the text format by creating a new super text file. The default super-text file format extension is. txt, we change txt into HTML as a simple Web file, the extension has a lot, according to their own needs to modify the extension. In fact, we all know that there is a. jsp file under the Web application. is also a Java under the Web application, in fact, there are many, in this is not more introduced. I believe everyone is more familiar than me.
Last night in the mood, I wanted to implement my first own Web program through Dreamweaver8. The program I am ready to register user-related information, so I customized a page of their own needs, so here to share.
The first is to download the Dreamweaver8 program, and then it is installed. Again, not much.
Next we create an HTML file by Dreamweaver8 to define our own page, before we begin to understand the use of Dreamweaver8 's functionality. First create a Web page from Dreamweaver8
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// Img1.51cto.com/attachment/201409/5/451336_1409907342saia.png "height=" 389 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907342ChwN.png "height=" 266 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907343coEe.png "height=" 276 "/>
As you all know, theHTML file content must start at end.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907343Cly2.png "height=" 262 "/>
Then define the caption displayed in this field <tatle></tatle>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_14099073437GPW.png "height="/>
The next step is to define what is displayed:
Define the content to be displayed in <body></body>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907344lZbl.png "height=" 286 "/>
Next we start editing the display and attributes.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907344evkX.png "height=" 249 "/>
After saving, we start to preview the effect.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907344tkJ6.png "height=" 219 "/>
Page out, daily we modify the font size and color it:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907344mAHB.png "height=" 271 "/>
That is the need for user attributes:size, color , the need to modify the content in advance with <font></font> expansion
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907344moBk.png "height=" 271 "/>
We can add the corresponding function in <font></font>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// Img1.51cto.com/attachment/201409/5/451336_1409907344xqis.png "height=" 318 "/>
After the modification, we preview the effect again.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907345blzM.png "height=" 245 "/>
Next, we define a list file, and the list file is usually a tree-like structure. The corresponding code is automatically indented
For example, we define a name called: Development project, next sub-java,html,jsp
The list file is represented as <dl></dl>
<dt></dt><dd></dd>
Code Definition:
<dl><dt> development Projects </dt><dd>html</dd><dd>java</dd><dd>jsp</dd> <dd>c++</dd></dl>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_14099073459S9G.png "height=" 317 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907345rJQ3.png "height=" 272 "/>
<ol></ol> Digital Tags <ul></ul> symbol labels
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907345yNN0.png "height=" 382 "/>
Preview Effect:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_14099073453dbc.png "height=" 295 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907345caBQ.png "height=" 141 "/>
Define horizontal Line properties: thickness, color of lines
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_14099073459A8M.png "height=" 303 "/>
Preview effect
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907346cct4.png "height=" 183 "/>
Then we add a picture to the page, what should we do?
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907346Q43I.png "height=" 443 "/>
definition Picture
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907346MDGm.png "height=" 355 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907346GNTM.png "height=" 478 "/>
Resizing a picture:
htight= "Width=" >
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907346Ag1h.png "height=" 364 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907346GHl1.png "height=" 351 "/>
Next we are the form;
Note:<table></table> define a table
<tr></tr> Define a row
<td></td> define a column
<table border= "1" ><tr><td> form one </td><td> form two </td></tr></table>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907346ScVL.png "height=" 304 "/>
To better reflect this feature, add a table color
<table border= "1" bordercolor= "#FF3366" >
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907347izbZ.png "height=" 206 "/>
Add background color
<table border= "1" bordercolor= "#FF3366" bgcolor= "#FFFF33" >
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907347kk6y.png "height=" 234 "/>
Adjust the table resolution and display format
<table border= "1" bordercolor= "#FF3366" bgcolor= "#FFFF33" cellpadding= "4" 70% "cellspacing=" >
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907347HRP7.png "height=" 199 "/>
Next we define the hyperlinks
<a href= "www.baidu.com" > Baidu
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907393Ly3H.png "height="/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907393V3eG.png "height=" 185 "/>
After the hyperlink is defined, we open the hyperlink in the page and open it through the current page, so if we open the hyperlink normally, we want to open the hyperlink in the new page, so we need to add a new link under the hyperlink in order to solve the problem.
target= "_blank"
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907393vvcd.png "height=" 311 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907393Cyux.png "height=" 296 "/>
We tested: We found that opening Baidu is on a different page under the jump Open
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907393n5hT.png "height=" 397 "/>
Next we define the feature for the hyperlink again, click the graphic to open the hyperlink
Let's first download a picture: Then define a hyperlink:
<a href= "www.baidu.com" >
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394PgUS.png "height=" 294 "/>
Then the picture is larger, so we need to define the image size:
<a href= "www.baidu.com" >
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394Akdv.png "height=" 192 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394gbji.png "height=" 219 "/>
Next define the message hyperlink:
<a href= "Mailto:[email protected]?subject=call us"/> Contact Us <a/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_14099073944Hj9.png "height="/>
Add Thunder Download Hyperlink:
<a href= "thunder://www.baidu.com" > Shanghai Beach preemptive version
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394kfrE.png "height=" 94 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394CACR.png "height=" 198 "/>
Click Start Download:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394YDzC.png "height="/>
Marker symbol:
If the current also has more than the content, in order to facilitate the preview, through the marker symbol to define:
The first is the top of the tag, and then the last edit jumps to top.
<a name= "Top" >
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394KUHZ.png "height=" 279 "/>
Preview Effect:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907394EHhK.png "height=" 385 "/>
After the end of the page:
<a href= "#top" back to top
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907395dF4q.png "height="/>
Preview Effect:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://img1.51cto.com/attachment/201409/5/451336_1409907395VNai.png "height=" 520 "/>
This article is from the "Gao Wenrong" blog, make sure to keep this source http://gaowenlong.blog.51cto.com/451336/1549421
Dreamweaver8 definition of Web Features page introduction