Class: Borges::HtmlElement

# Borges::HtmlElement (Class)

In: | lib/Borges/HTML/HtmlElement.rb
Parent: | Object

Borges::HtmlElement holds attributes and children elements for building HTML.

## Methods

add new to_s

## Attributes

name | [RW] | The name of the HTML element

## Public Class methods

new(name, attributes = Borges::HtmlAttributes.new)

Create a new HTML element with `name`, an optional set of `attributes`, and an empty set of children.

## Public Instance methods

add(element)

Add a child element to this element

to_s()

Create a String representing this element

[Validate]