HTMLStartTag

laika.ast.html.HTMLStartTag
case class HTMLStartTag(name: String, attributes: List[HTMLAttribute], options: Options) extends HTMLSpan, Block

Represent a start tag. When this element is part of a final document tree, it represents an orphaned start tag without matching end tag.

In HTML this may be legal (some tags like the p tag are defined as "auto-closing" under certain circumstances). This library however does not implement the full logic of a proper HTML parser to distinguish between legal and faulty occurrences of unmatched start tags.

Attributes

Source
elements.scala
Graph
Supertypes
trait Block
class HTMLSpan
trait Span
class Element
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

Attributes

Source
elements.scala

Value members

Concrete methods

Returns a new instance of this element with the specified options replacing the current value.

Returns a new instance of this element with the specified options replacing the current value.

Attributes

Source
elements.scala

Inherited methods

Returns a new instance of this element with all options removed from it.

Returns a new instance of this element with all options removed from it.

Attributes

Inherited from:
Element
Source
base.scala
def hasId: Boolean

Indicates whether this element has an id assigned.

Indicates whether this element has an id assigned.

Attributes

Inherited from:
Element
Source
base.scala
def hasStyle(name: String): Boolean

Indicates whether this element has the specified style assigned.

Indicates whether this element has the specified style assigned.

Attributes

Inherited from:
Element
Source
base.scala

Returns a new instance of this element with its options merged with the specified options.

Returns a new instance of this element with its options merged with the specified options.

Attributes

Inherited from:
Element
Source
base.scala

Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.

Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.

Attributes

Inherited from:
Element
Source
base.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def withId(id: String): Self

Returns a new instance of this element with its id set to the specified value, overriding any existing value.

Returns a new instance of this element with its id set to the specified value, overriding any existing value.

Attributes

Inherited from:
Element
Source
base.scala
def withStyle(name: String): Self

Returns a new instance of this element with the specified style added to its existing styles.

Returns a new instance of this element with the specified style added to its existing styles.

Attributes

Inherited from:
Element
Source
base.scala
def withStyles(styles: Iterable[String]): Self

Returns a new instance of this element with the specified styles added to its existing styles.

Returns a new instance of this element with the specified styles added to its existing styles.

Attributes

Inherited from:
Element
Source
base.scala
def withStyles(style: String, styles: String*): Self

Returns a new instance of this element with the specified styles added to its existing styles.

Returns a new instance of this element with the specified styles added to its existing styles.

Attributes

Inherited from:
Element
Source
base.scala

Returns a new instance of this element without its id.

Returns a new instance of this element without its id.

Attributes

Inherited from:
Element
Source
base.scala