HTML <base> hedef Özellik
Örnek
Bir sayfadaki tüm köprüler ve formlar için varsayılan bir hedef belirtin:
<head>
<base target="_blank">
</head>
Tanım ve Kullanım
Nitelik target
, sayfadaki tüm köprüler ve formlar için varsayılan hedefi belirtir.
target
Bu öznitelik, her bir köprü/form için öznitelik kullanılarak geçersiz kılınabilir .
Tarayıcı Desteği
Attribute | |||||
---|---|---|---|---|---|
target | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
<base target="_blank|_self|_parent|_top">
Özellik Değerleri
Value | Description |
---|---|
_blank | Opens the link in a new window or tab |
_self | Default. Opens the link in the same frame as it was clicked |
_parent | Opens the link in the parent frame |
_top | Opens the link in the full body of the window |
❮ HTML <base> etiketi