Libraries.Web.Page.Definition Documentation

The Definition class represents HTML's (Hypertext Markup Language) dd tag which is used to make an indented definition for an item in a DefinitionList class. You can find more information about this tag at: The dd attribute.

Example Code


use Libraries.Web.Page.all

class Main
action main
  WebPage page

  DefinitionList defList
  DefinitionListTerm defTerm
  Definition definition
  
  defTerm:SetDescription("Apple")
  definition:SetDescription("A fruit from a tree, with a thin skin and crisp inside.")
  defList:Add(defTerm)
  defList:Add(definition)

  page:AddToBody(defList)
  output page:Generate()
end
end

Inherits from: Libraries.Web.Page.AttributeAccepter, Libraries.Language.Object, Libraries.Web.Page.GlobalAttributeAccepter, Libraries.Web.Page.WebTag, Libraries.Web.Page.FlowContent

Actions Documentation

Add(Libraries.Web.Page.Highlight content)

This action places a Highlight object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Highlight highlight
        page:Add(highlight)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.Inserted content)

This action places an Inserted object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Inserted inserted
        page:Add(inserted)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.PerformanceGauge content)

This action places a PerformanceGauge object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        PerformanceGauge performanceGauge
        page:Add(performanceGauge)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.Article content)

This action places an Article object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Article article
        page:Add(article)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.StrikeThrough content)

This action places a StrikeThrough object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        StrikeThrough strikeThrough
        page:Add(strikeThrough)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.LineBreak content)

This action places a LineBreak object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        LineBreak lineBreak
        page:Add(lineBreak)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.UnderlineText content)

This action places an UnderlineText object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        UnderlineText underlineText
        page:Add(underlineText)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.DefinitionTerm content)

This action places a DefinitionTerm object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        DefinitionTerm definitionTerm
        page:Add(definitionTerm)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.OwnerAddress content)

This action places an OwnerAddress object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        OwnerAddress ownerAddress
        page:Add(ownerAddress)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.Audio content)

This action places an Audio object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Audio audio
        page:Add(audio)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.Form content)

This action places a Form object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Form form
        page:Add(form)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.UnorderedList content)

This action places an UnorderedList object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        UnorderedList unorderedList
        page:Add(unorderedList)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.Heading content)

This action places a Heading object inside of a Definition object.

Parameters

Example


use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Heading heading
        page:Add(heading)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.Section content)

This action places a Section object inside of a Definition object.

Parameters

Example