Div

In HTML, the <div> tag is a fundamental element used for creating divisions or sections within a web page. It is a generic container that allows you to group together other HTML elements and apply styling or functionality to them collectively. The <div> tag itself does not have any inherent semantic meaning, but it is widely used for structuring and organizing the layout of a webpage.

(ChatGPT, February 23, 2024)

Constructors

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

Functions

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