HTML structure is initialized, only the contents inside the body tag and add the page to be displayed
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>page01</title>
</head>
<body>
</body>
</html>
Such as: add a tag to link to external resources
<h1> a hyperlink tagged </ h1 of>
<-! target = "_ blank" Open in a new tab ->
<A the href = "https://www.baidu.com/" target = "_ blank" > Baidu </a>
Links to local resources
<! - linked to a local resource ../ ->
<a href="../page-02.html" target="_blank"> go page02 </a>
Tags associated: Click on a question to jump to the answer to question #id
<-! Click on a question to jump to the answer to question #id ->
<a href="#as01" style="color: blue"> issue a </a>
<the p-the above mentioned id = "AS01"> answers a question </ p>
The browser can not be resolved automatically download link resources
<-! Browser can not resolve the resource automatically download link ->
<a href="../new1.zip"> Download new1 </a>
a tag is automatically connected to the base head of the link
<base href="https://www.baidu.com/" target="_blank">
</head>
<body>
<-! Href = "contact.html" will automatically connect to the base of the head above link ->
<a href="contact.html"> Contact us </a>
a tag is automatically connected to the base head of the link
<base the href = "https://www.baidu.com/" target = "_ blank">
</ head>
<body>
<-! the href = "contact.html" will be automatically connected to the base of the upper link - ->
<a href="contact.html"> Contact us </a>
Back to top
<a href="#"> Top </a>
<! DOCTYPE HTML>
<HTML lang = "EN">
<head>
<Meta charset = "UTF-. 8">
<title> page01 </ title>
<Base the href = "https://www.baidu.com/" = target "_ blank">
</ head>
<body>
<-! href = "contact.html" will automatically connect to the link above base ->
<a href="contact.html"> Contact us </ a>
<the p->
</ the p->
<-! href = "contact.html" will automatically connect to the base of the head above link ->
<a href="contact.html"> Contact us </a>
< the p-> </ the p->
<-! browser can not resolve the resource automatically download link ->
<a href="../new1.zip"> </a> Download new1
<the p-> </ the p->
<-! Click on a question to jump to the answer to question #id ->
<a href="#as01" style="color: blue"> issue a </a>
<the p- id = "as01"> answer a question </ the p->
<-! link to a local resource ../ ->
<a href="../page-02.html" target="_blank"> </a> to page02
<h1> A label is a hyperlink </ h1>
<-! target = "_ blank" in a new tab open ->
<a href="https://www.baidu.com/" target="_blank"> Baidu </a>
<a href="#"> top </a>
</ body>
</ html>