Beginner's introduction: Using DW8 to master the basic format of Web page code

Source: Internet
Author: User
Tags format header dreamweaver
Web

Speaking of code, someone will ask: do not understand the code can make Web pages? The answer is yes. Some people do not understand the code can also make a very good web page.

In the Dreamweaver design window, each increment or change of content will automatically generate the corresponding code. That creates another question: why should you know or become familiar with the code? It can be said that familiarity with the code will give you the added bonus of making your Web page icing on the cake. Hypertext Markup Language (HTML) adds a number of extension features to meet more needs. Home page makers often use Java applets (applets), inline scripts, plug-ins, and other extended HTML features to give full play to their imaginations and design a glamorous home page.

Some effects can only be done by editing the code, or by editing the code relatively easily. There are a lot of netizens in the forum to ask questions that the Web site to provide special effects code on their own web page does not, or the emergence of such a problem. So it is necessary to understand or familiarize yourself with the code.

  Basic format

 

  <title> Web Teaching Network dreamweaver tutorial ( This is your site title, but also the title bar will be displayed when browsing the content )</title>
 

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

 

HTML language uses the method of flag pair to write a file, it is simple and convenient, it usually uses the < flag name ></flag name > to indicate the start and end of the sign (for example,

  1.

The

  2.

The HTML file is divided into the header and the main two parts.

  3.<title></title>

People who have browsed the page may notice the text information displayed in the top blue part of the browser window, which is generally the subject information of the Web page, to display the topic information of your Web page to the top of the browser, the method of the title bar is very simple, is in <title></title > Sign pairs to add the text you want to display.

Note: <title></title> logo pairs can only be placed between

  4.<body></body>

<body></body> is the main part of an HTML document that can contain <p>, </p>,

  Dreamweaver has three document view windows:

1, the Code view window. This is the window to edit the code.

2, the Design view window. This is our editing text, add pictures and other operations commonly used window.

3, the Split view window. When we need the top two windows to work with to edit this window, we are going to add the code mainly in this window.

When using Dreamweaver to make Web pages, you should pay more attention to view the code view!







Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.