黑龙江快乐十分

17 - 05 - 15 HTML(锚链接)

2/10/2017来源:心得技巧人气:18820

——————————————————————————zhengliziw3school,www.w3school.com /baiduzhidao

# html lianjie - name shuxing   ( nandian )

name shuxingguidingmao(anchor)demingcheng。

ninkeyishiyongnameshuxingchuangjianhtmlyemianzhongdeshuqian。

黑龙江快乐十分shuqianbuhuiyirenheteshufangshixianshi,taduiduzheshibukejiande。

黑龙江快乐十分dangshiyongmingmingmao(named anchors)shi,womenkeyichuangjianzhijietiaozhigaimingmingmao(biruyemianzhongmougexiaojie)delianjie,

黑龙江快乐十分zheiyangshiyongzhejiuwuxubutingdigundongyemianlaixunzhaotamenxuyaodexinxile。

黑龙江快乐十分(baidubaikejingchangshiyong,zaibenyemiannei shangxiatiaozhuan,kuaisudingwei)maodianlianjiedeyisishuojiushi:

黑龙江快乐十分“abc”jiushiyigelianjie,wodianji“abc”zhihou,jiuhuitiaozhuandao"123"deweizhishang。zuichangyongdefangshi,

在一个网页的开头,做一个目录,每一个目录都是一个锚点链接,然后链接到本页面相关的位置。

mingmingmaodeyufa:

黑龙江快乐十分<a name="label">mao(xianshizaiyemianshangdewenben)</a>

黑龙江快乐十分ts:keyishiyong id shuxinglaitidai name shuxing,mingmingmaotongyangyouxiao。

biru:shouxian,womenzai html wendangzhongduimaojinxingmingming(chuangjianyigeshuqian):

黑龙江快乐十分<a name="tips">jibendezhuyishixiang - youyongdetishi</a>

ranhou,womenzaitongyigewendangzhongchuangjianzhixianggaimaodelianjie:

<a href="#tips">youyongdetishi</a>

黑龙江快乐十分ninyekeyizaiqitayemianzhongchuangjianzhixianggaimaodelianjie:

<a href="http://www.w3school.com.cn/html/html_links.#tips">youyongdetishi</a>

zaishangmiandaimazhong,womenjiang # fuhaohemaomingchengtianjiadao url demoduan,jiukeyizhijielianjiedao tips zheigemingmingmaole。

<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/">
.d1{
border:1px solid red;      <!--网页边框是red color-->
width:400px;
height:2000px;
}

.d2{
border:1px solid blue;    <!--点我跳转mao1是蓝色的字体-->
width:400px;
height:400px;
margin-top:1000px;
}
</style>
<title>锚链接的使用</title>
</head>
<div class="d1">
<a href="#mao1">点我跳转mao1</a>
    <div class="d2">
    <a name="mao1">我是mao1</a>
    </div>
</div>
<body> </body> </html>

jiangjie:d1,d2 shizijichuangjiandeleidemingcheng。

-

-

zailaiyigezuijiandandelizi:

<a href="#c4">chakan chapter 4。</a>

</p>

黑龙江快乐十分<h2><a name="c4">chapter 4</a></h2>

dianjichakanchapter 4zhihou,jiukeyitiaozhuandaochapter 4biaotizheili。



优质网站模板

  • 1
  • 2
  • 3

网页制作文章分类

最新文章推荐

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

网页制作推荐

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10