Interface IHtmlAnchorElement
- Namespace
- AngleSharp.Html.Dom
- Assembly
- AngleSharp.dll
Represents the a HTML element.
[DomName("HTMLAnchorElement")]
public interface IHtmlAnchorElement : IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers, IUrlUtilities
- Inherited Members
- Extension Methods
Properties
Download
Gets or sets the linked resource is intended to be downloaded rather than displayed. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, the navigator will adapt it.
[DomName("download")]
string? Download { get; set; }
Property Value
Ping
Gets the element's ping attribute as a settable list of tokens.
[DomName("ping")]
ISettableTokenList Ping { get; }
Property Value
Relation
Gets or sets the rel HTML attribute, specifying the relationship of the target object to the link object.
[DomName("rel")]
string? Relation { get; set; }
Property Value
RelationList
Gets the rel HTML attribute, as a list of tokens.
[DomName("relList")]
ITokenList RelationList { get; }
Property Value
Target
Gets or sets the name of the target frame to which the resource applies.
[DomName("target")]
string? Target { get; set; }
Property Value
TargetLanguage
Gets or sets the language code for the linked resource.
[DomName("hreflang")]
string? TargetLanguage { get; set; }
Property Value
Text
Gets the text of the anchor tag (same as TextContent).
[DomName("text")]
string Text { get; }
Property Value
Type
Gets or sets the type of the resource. If present, the attribute must be a valid MIME type.
[DomName("type")]
string? Type { get; }