Libraries.Web.Page.Section Documentation

The Section class represents HTML's (Hypertext Markup Language) section tag which is used to define sections in the page to seperate Headers, Footers, chapters of text, etc. You can find more information about this tag at: The section attribute.

Example Code

use Libraries.Web.Page.all

class Main
action main
  WebPage page

  Section section
  Header header
  Paragraph paragraph
  
  header:SetDescription("Quorum")
  paragraph:SetDescription("Quorum is a programming language...")
  section:Add(header)
  section:Add(paragraph)

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

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

Actions Documentation

Add(Libraries.Web.Page.Highlight content)

This action places a Highlight object inside of a Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section 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 Section object.

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Section section
        page:Add(section)

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

Add(Libraries.Web.Page.StrongText content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        StrongText strongText
        page:Add(strongText)

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

Add(Libraries.Web.Page.SuperscriptText content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        SuperscriptText superscriptText
        page:Add(superscriptText)

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

Add(Libraries.Web.Page.Footer content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Footer footer
        page:Add(footer)

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

Add(Libraries.Web.Page.Attribute attribute)

This action adds an attribute to this object. If an attribute with the same name as

Parameters

Example


use Libraries.Web.Page.AttributeAccepter
use Libraries.Web.Page.Attribute

Attribute attribute
attribute:SetName("src")
attribute:SetValue("http://www.google.com")

AttributeAccepter accept
accept:Add(attribute)

Add(Libraries.Web.Page.Select content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Select select
        page:Add(select)

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

Add(Libraries.Web.Page.DefinitionList content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        DefinitionList definitionList
        page:Add(definitionList)

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

Add(Libraries.Web.Page.NavigationDivision content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        NavigationDivision navigationDivision
        page:Add(navigationDivision)

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

Add(Libraries.Web.Page.Label content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Label label
        page:Add(label)

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

Add(Libraries.Web.Page.KeyboardInput content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        KeyboardInput keyboardInput
        page:Add(keyboardInput)

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

Add(Libraries.Web.Page.Variable content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Variable variable
        page:Add(variable)

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

Add(Libraries.Web.Page.ListOptions content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        ListOptions listOptions
        page:Add(listOptions)

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

Add(Libraries.Web.Page.Quote content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Quote quote
        page:Add(quote)

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

Add(Libraries.Web.Page.Header content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Header header
        page:Add(header)

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

Add(Libraries.Web.Page.BiDirectionalOverride content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        BiDirectionalOverride biDirectionalOverride
        page:Add(biDirectionalOverride)

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

Add(Libraries.Web.Page.CodeBlock content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        CodeBlock codeBlock
        page:Add(codeBlock)

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

Add(Libraries.Web.Page.OrderedList content)

This action places an OrderedList object inside of a Section object.

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        OrderedList orderedList
        page:Add(orderedList)

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

Add(Libraries.Web.Page.FieldSet content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        FieldSet fieldSet
        page:Add(fieldSet)

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

Add(Libraries.Web.Page.BlockQuote content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        BlockQuote blockQuote
        page:Add(blockQuote)

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

Add(Libraries.Web.Page.ImageMap content)

This action places an ImageMap object inside of a Section object.

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        ImageMap imageMap
        page:Add(imageMap)

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

Add(Libraries.Web.Page.Span content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Span span
        page:Add(span)

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

Add(Libraries.Web.Page.Area content)

This action places an Area object inside of a Section object.

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Area area
        page:Add(area)

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

Add(Libraries.Web.Page.KeyGenerator content)

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

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page