<html>
<head>
<title> Webpage Teaching Network Dreamweaver Tutorial ( This is the title of your site and what will be displayed in the title bar when browsing the web ) </title>
</head>
<body>
Here is the main part of the source code!
</body>
</html>
HTML language uses the method of marking pairs to write files, which is simple and convenient. It usually uses <mark name>
To represent the beginning and end of a mark (such as a mark pair), so such mark pairs must be used in pairs in HTML documents.
1. <html></html>
The mark is used at the front of the HTML document to mark the beginning of the HTML document. The flag is just the opposite. It is placed at the end of the HTML document and is used to mark the end of the HTML document. They have no actual meaning. They just tell the browser that it is processing the HTML file. Both flags must be used together.
2. <head></head>
HTML files are divided into two parts: header and body. and constitute the header of the HTML document. You can use,
Wait for the mark pairs, these mark pairs are all mark pairs that describe information related to the HTML document. Both flags must be used together.
3. <title></title>
People who have browsed the web may have noticed the text information displayed in the blue part at the top of the browser window. That information is generally the theme information of the web page. You need to display the theme information of your web page at the top of the browser, that is, the title bar. The method is very simple, just add the text you want to display between the logo pairs.
NOTE: Flag pairs can only be placed between flag pairs.
4. <body></body>
It is the main part of the HTML document. It can contain
<body> between this tag pair. </body> is the main part of the HTML document. It can include <p>, </p>, <h1>, </h1>, <br>, <hr> and many other tags, the text, images, etc. defined by them will be displayed in the browser box. Both flags must be used together. You can also add some other attributes to the <body> mark, such as: <body oncontextmenu="return false" onselectstart="return false"...> and many other marks. The text and images they define will It will be displayed in the browser box. Both flags must be used together. Some other attributes can also be added to the logo, such as:
Dreamweaver has three Document view windows:
1. "Code" view window. This is the window for editing code.
2. "Design" view window. This is the window we commonly use for editing text, adding pictures, etc.
3. "Split" the view window. Use this window when we need the above two windows to cooperate with each other for editing. The code we are going to add will mainly be done in this window.
When using Dreamweaver to create web pages, everyone should pay more attention to the code view!