1. HTML
Full name: Hyper Text mark-up Language Hypertext Markup Language
2. History:
3. Common way:
Method One, Notepad
Method Two: Dreamweaver
Method Three: Web browser dynamic generation
4. Document Structure:
<title></title> Title of website file
<body></body> the main part of the website file
5. <meta>
Keywords:
<meta name= "keywors" content= "keywords" >
Describe:
<meta name= "description" content= "description content" >
<meta name= "Author" content= "Author" >
Coding:
<meta http-equiv= "Content-type" content= "text/html" charset= "gb2312" > or
<meta http-equiv= "Content-type" content= "text/html" charset= "Utf-8" >
5. website file name:
HTML format or HTM
6. Text decoration:
Font double mark
<font color= "Text color" size= "Text Size" face= "Font" > Text </font>
White: #ffffff或者 #ff
Black: #000000或者 #000
Grey: #999999或者 #999 or Gray
Yellow: #ffff00
Cyan: #00ffff或者cyan
7. Text Style:
Bold:<b></b> or <strong>
Tilt:<i></i> or <em>
Underline:<u><u> or
Delete line:<s></s> or <strike>
Superscript:<sup> Text </sup>
Small label:<sub> text </sub>
NewLine:<br> line break, XML <br/>
8. Paragraph mark
<p align= "Alignment: Left, right, center" > Content </p>
Paragraph title: (for paragraphs)
......
can also be centered:
<H1 align= "center" > Text
9, center Mark:<center></center>
10. Horizontal Line Marking:
Split Line: (H5 is called the end of the topic) By default is centered, NoShade remove the shadow
11. Special characters:
Red Remember, black, understand.
Space:
Yuan: ¥
Copyright No.: ©
registered trademarks: ®
":"
&:&
<:<
>:>
Keep the original typographic notation:
<pre> text </pre>
Indent Right Mark:<blockquote></blockquote>
11. List:
First: unordered list: UL
<ul type= "Circle/square/disc" >
<li></li>
<li></li>
.........
</ul>
Type style:
Disc: Black solid Circle (ul default is to show Dark Heart circle)
Circle: Black Hollow Circle
Square: Black Squares
Li can also be nested UL, if nested UL, the first default display disc, the second default display circle, the third default display square.
Second: There are sequence tables: OL
<ol type= "a/a/i/i/1" start= "Start List" >
<li type= "a/a/i/i/1" value= "list Number" ></li>
<li type= "a/a/i/i/1" value= "list Number" ></li>
....................
</ol>
Where the start= "Start list", enter a number, refers to the beginning of the first
Inside the value= "list Number", is the number specified
If more than one ol is nested, only the number is displayed by default
A:a,,b,b,d .....
A:a,b,c,d .....
I:i,ii,iii,iiii .....
I:i,ii, III, IIII ...
1:1,2,3,4 ... (by default).
UL and OL can be nested with each other
Example:
Third: Definition list: (used to interpret nouns)
<dl>---Define a normal list
<dt> List title <dt>
<dd> list Content </dd>------DD content is automatically indented
<dd> List Contents </dd>
.........
<dt> List title <dt>
<dd> List Contents </dd>
<dd> List Contents </dd>
.........
</dl>
Example: Code:
Show:
12. Image
(1) Three formats: Png/jpg/gif
(2)
(3) Why the picture is not displayed
One, the format does not support
Second, the picture path error
Three, to be determined
HTML Basic Knowledge One