python of HTML (body, a label hyperlinks)

a label: jump anchor (inline tag) 
Jump:
 <body> 
    <a href= "http://www.baidu.com" target= "_blank"> Baidu </a>                       _blank is a new window opened, further other attributes
 </ body> 
simple example anchor: Id tag can not be repeated <DOCTYPE HTML!> 
<HTML lang = " EN " > 
<head> 
    <Meta charset = " UTF-. 8 " > 
    <title> the title </ title> 
</ head> 
<body> 
<a href= "#i1"> Chapter </a> 
<A the href = "I2 # " > Chapter </a> 
<A the href = "

i3 # " > Chapter </a> <-! # add meaning and id id to i3 label binding and can jump to the appropriate tab -> 
<a href=" #i4 "> fourth Cap </a> 
<div ID = " I1 " style = " height: 600px; " > chapter 1 </ div> 
<div ID = " I2 " style = " height: 600px; " > second chapter < / div> 
<div the above mentioned id = " i3 " style = " height: 600px; " > Chapter III </ div> <!- binding targets for achieving the purpose of providing id jump -> 
<div id = " I4 " style =" Height: 600px; " > The fourth chapter contents </ div> 
</ body>

 

Guess you like

Origin www.cnblogs.com/god-for-speed/p/11569878.html