HTML
anchor
<a href="#值"> text </a>
need to jump to the place to make a mark or <a name="值"> </a>
<h2 id = "value"> character </ h2>
Cross-page anchor
base label single flag in the role of head of hyperlinks so that all pages can be opened in a new window
Absolute and relative paths path
absolute path F: \ elite squad training camp close disciples \ day3 path with the drive letter of the
relative path has a reference
case a
day3 folder below
01.html 1.jpg
01.html中 <img src="1.jpg" />
Where two
distal folder> day3 Folder> 01.html
1.jpg <IMG the src = "../ 1.jpg" />
04 special characters .html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <p>文字</p> <p>文字</p> ©® 文文字 </>body</Mosquitoes html>
05HTML comment .html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <script type="text/javascript"> <!-- Notes notes to explain the code interpretation Easy to see the program yourself and others --> </script> </body> </html>