A

In HTML, the <a> tag, commonly known as the anchor tag, is used to create hyperlinks. Hyperlinks are elements on a web page that allow users to navigate to another resource, which could be another web page, an image, a video, a document, or any other type of file accessible via a URL (Uniform Resource Locator).

(ChatGPT, February 23, 2024)

Constructors

Link copied to clipboard
constructor(href: HrefInterface, vararg children: InlineTagInterface)
constructor(attributes: Attributes, href: HrefInterface, vararg children: InlineTagInterface)
constructor(attributes: Attributes, classes: ClassesInterface, href: HrefInterface, vararg children: InlineTagInterface)
constructor(classes: ClassesInterface, href: HrefInterface, vararg children: InlineTagInterface)
constructor(classes: ClassesInterface, href: HrefInterface, children: List<InlineTagInterface>)
constructor(attributes: Attributes, classes: ClassesInterface, href: HrefInterface, children: List<InlineTagInterface>)

Functions

Link copied to clipboard
open override fun build(): TagInterface
Link copied to clipboard
fun string(): String