base href ʹ÷
ǰλãҳ > վά > б

base href ʹ÷

ԴһƼʱ䣺2018/5/27 ؼʣϺվ
baseһӱǣһǡԸıļǵIJڶֵֻӦڱ֮䡣ҳϵ·ʱǰϻָĵַbasehrefҪԣhref趨ǰ׺ӵַtarget趨ļʾĴ,ͬa

Ϻվ


baseһӱǣһǡԸıļǵIJڶֵֻӦڱ֮䡣  

ҳϵ·ʱǰϻָĵַ  

base hrefҪԣ  

href  

趨ǰ׺ӵַ  

target  

趨ļʾĴ,ͬaеtarget

base href

<html>    
<head>    
<base href="http://www.zzjiaxin.cn/website/" target="_blank">    
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">    
<title>base href</title>    
<link rel="Shortcut Icon" href="http://www.zzjiaxin.cn/arrow.ico">    
</head>
<body>
<a href="http://www.zzjiaxin.cn//website/" target="_self">/website/</a>
</body>    
</html>

Ӻҳַhttp://www.zzjiaxin.cn/case/http://www.zzjiaxin.cn/website/Щ·ļǰϻָĵַĿļеûָtargetԣbaseеtargetԡ  

ڿܽṹãܣߵĿļӶʾұߵĿֻҪbaseǣtargetֵдΪҿƣͲΪļеÿһӶָtargetԡ  

base href˵  

1ʹʱBASE Ԫرĵ HEAD ڣκζⲿԴ֮ǰ  

2Ԫ Microsoft® Internet Explorer 3.0 HTML пã Internet Explorer 4.0 Ľűпá  

3ԪزᱻȾ  

4ԪزҪرձǩ  

5baseǩʵôģʹñҳеӶҳ򿪣ͲÿӴtarget="_blank" ˡ  

IE7ע⣺  

1 ֮ǰַܼIE7Ͷ base н  

2< base >һӻ׼ǣԸıļӱǵIJĬֵֻӦļĿͷ֣< head >< /head >֮䡣

˴վάѻˣ

վά

Ŀ

վ

վ

ͨSEOŻ,ṩչʾ,׼ѯ̣ÿͻ20%

ֻվ

ֻվ

ֻվʱǿϮӮȫӪʱֻ+˫赣̻ˮ©

վά

վά

һõվҪڻ򲻶ڵظݣܲϵߣӷ

Ӫ

Ӫ

Ϊ˽άʹƷƣԼǿͻϵƷƽмƻʵʩͼලһϵӪ

ԤԼվ
ṩվŻ
ȡؼ