WEB DESIGN GARAGE [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

WEB DESIGN GARAGE [Electronic resources] - نسخه متنی

Marc Campbell

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Chapter 66. Using Named Anchors


The anchor tag is unusual in that it has two different functions in HTML. On one hand, you can use the anchor tag to link to another page:


<a href=">Go to another page</a>


GEEKSPEAK


A named anchor is a location on a Web page to which you can link.

On the other hand, you can use the anchor tag to set a location or named anchor to which to link:


<a name="linkhere"></a>


GEEKSPEAK


The source of a link is the element that the visitor clicks to go to another page. The destination of the link is the page that loads in the browser window.

The way the anchor tag functions depends on its attributes. When the anchor tag contains the href attribute, it functions as the source of a link, or the element that the visitor clicks to go to another page. But when the anchor tag contains the name attribute, it functions as the destination of a link, or a location that appears in the browser after the visitor clicks the link.


/ 175