English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <a> name-Eigenschaft

<a> Die name-Eigenschaft wird verwendet, um den Namen eines Ankers (Anker) zu spezifizieren。

HTML <a> Tag

Online-Beispiel

Die name-Eigenschaft wird verwendet, um den Namen eines Ankers (Anker) zu spezifizieren:

!doctype html>
<html>
<head>
<title>html: <a> name Eigenschaft - Einführung in die Grundlagen(oldtoolbag.com)</title>
</head>
<body>
<p><a href="#C5">See Chapter Five</a></p>
<p>
<h2>Chapter One</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Two</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Three</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Four</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2><a name="C5">Chapter Five</a></h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Six</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Seven</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Eight</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Nine</h2>
<p>This chapter explains the use of the <a> name attribute</p>
<h2>Chapter Ten</h2>
<p>This chapter explains the use of the <a> name attribute</p>
</body>
</html>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the name attribute

Definition and Usage

HTML5 The name attribute of the <a> tag is no longer supported. You can use the id attribute instead of name.

The name attribute specifies the name of the anchor.

The name attribute is used to create bookmarks within the document.

Hint: In XHTML, the name attribute of the <a> tag has been deprecated and will be removed in the future. You can use the id attribute instead.

Syntax

<a name="value">

Attribute Value

ValueDescription
anchor_nameAnchor Name.

HTML <a> Tag