(i) Writing HTML steps
First step: Create a new Notepad (with. HTML as suffix)
Step Two: Right-click to select Open With text document
<body>
Hello.html
</body>
Step Three: Write content
Fourth step: Open the viewing content in a browser
(ii) The basic structure of HTML
<body></body><!--The body of the page--
(iii) How HTML is opened
The first type: Open with a browser (browse mode)
The second type: Open with a text editor (edit mode)
Add: HTML Full name Hyper Text Markup Language (Hypertext Markup Language)
(d) Title label
<title></title>
(v) META tags
<meta name= "keywords" content= "content" > Keywords: keywords
<meta name= "description" content= "Content" > Description: Web page description
(vi) H tag
Note: The h tag is only H1 to H6, and the H1 is minimized in turn
(vii) Paragraph label (empty one row)
<p></p>
(eight) line wrapping label
<br/> write in the middle of the change
(ix) Horizontal line label
Bold:<strong></strong>
Italic:<em></em>
(11) Notes and special symbols
Spaces
Greater than sign >
Less than sign <
quotation marks "
Version Symbols ©
Note:<!--What is being commented--
Purpose: The first type: explanation code (before it)
The second type: The current code can not be used now, may be used later to (the use of not included in the inside)
(13) a label (hyperlink)
<a href= "path to jump" target= "target Window" ></a>
Note: The common value of target: _self (represents the current window) _blank (indicates a new window)
(12) Picture label
(14) Jump to the top (in the Department network section)
<body>
<a name= "Head" > Top </a>
<a href= "#head" > Back top </a>
</body>
(15)
1. Steps to use the anchor chain
First step: Defining the Anchor Point
<a name= "First Name" > Anchor point </a>
Step Two: Define Links
<a href= "#锚点名" > Links </a>
Note: #可以看出当前页面 anchor name: Represents the position to jump to the specified anchor (that is, the value of the Name property when the anchor point is defined)
2. Functional links
Example: <a href= "MAILTP: Email Address" ></a>
Block element: The element is exclusive to one row regardless of the content (p, H1)
Inline elements: Content is open around the width of the elements can be lined up in one row (strong)
Web page design and production Chapter I.