Wednesday, October 14, 2009

Use code of Dreamweaver8 control webpage basic format

Respecting code, somebody can ask: Do not know code to you can make a webpage? The answer is affirmative. Some people do not know code to be able to make first-rate webpage likewise.

In the design window in Dreamweaver you every increase or change a content, can generate corresponding code automatically. That produces another problem again: Why should understand or be why should understand or familiar with code? Can say familiar code will make your with might doubled, can make your webpage is perfected. Transcend text label language (HTML) to satisfy more need, increased a lot of patulous functions. Homepage fabricant often uses Java Applet (small order) , inside the HTML function that embeds script, plug-in unit and other to expand, develop oneself fancy adequately, can design the homepage that is full of glamour.

And of some effects make can be finished only through editing code, it is relatively a few easier to perhaps carry editor code. The code of webpa ge specially good effect that a lot of netizen says in the query in forum this station is offerred is put in his webpage to be no good, perhaps appear such and such problem. Understand so or be familiar with code is necessary.

Basic format

 <html>

 <head>
 <title>Tutorial of Dreamweaver of webpage education net (This is your site caption, also be the content that column of the caption when the webpage that browse will show)</title>
 </head>

 <body>

  
Here is the main body part of source code!
  
  </body>

 </html>

HTML language uses the method with right mark to write a document, go to the lavatory simply again already, it uses < mark name normally >The beginning that will show a sign and end (indicate for example to) , because this is in HTML documentation,such symbol must be used in couples to.

1. <html></html>

The mark is used at the foremost edge of HTML documentation, use the beginning of label HTML documentation. And mark rather, it is put in the last frontier of HTML documentation, use the end of label HTMLl documentation, they do not have real significance, just tell a browser, it is handling HTML document. Two marks must be used together.

2. <head></head>

HTML file cent heads ministry and main body two parts. Mix first when form HTML documentation, here the mark is opposite between can use, Wait a mark a moment to be opposite, these marks are a description to the mark of information is right related HTML documentation. Two marks must be used together.

3. <title></title>

The person that has browsed a webpage can notice browser window possibly most above the text information that blue part shows, those information are the thematic information of the webpage commonly, the thematic information that wants the webpage you shows the coping of the browser, namely the method of caption column is very simple, be opposite in the mark namely between the text version that adds you to want to show can.

Attention: The mark is right to can be being put in the mark only between.

4. <body></body>

It is the main body part of HTML documentation, the mark is here right between can include

<body></body> is the main body part of HTML documentation, the mark is here right between can include <p> , </p> , <h1> , </h1> , <br> , <hr> to wait numerous mark a moment, will show the text that they define, image inside the casing of the browser come out. Two marks must be used together. Property of a few other still can be increased in <body> mark, be like: <body Oncontextmenu="return False" Onselectstart="return False" . . . . . . > wait numerous mark a moment, will show the text that they define, image inside the casing of the browser come out. Two marks must be used together. Property of a few other still can be increased in the mark, be like:

Dreamweaver has 3 to plant " documentation " view window:

1, " code " view window. This is the window that edits code.

2, " design " view window. This is we undertake editing a character, add the operation such as the pi cture commonly used the window.

3, " fractionation " view window. Choose this window when two windows cooperate to have an edition above our need, the accretion that we will undertake code basically undertakes in this window.


When use Dreamweaver makes a webpage everybody should notice to examine code view more!

No comments:

Post a Comment