Libraries.Web.Page.SuperscriptText Documentation
The SubscriptText class represents HTML's (Hypertext Markup Language) sup tag which is used to add superscriptted text. You can find more information about this tag at: The sup attribute.
Example Code
use Libraries.Web.Page.all
class Main
action main
WebPage page
SuperscriptText sup
sup:SetDescription("HTML")
page:AddToBody(sup)
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.Highlight: specifies what will be added to the page.
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.Inserted: specifies what will be added to the page.
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.PerformanceGauge: specifies what will be added to the page.
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.StrikeThrough content)
This action places a StrikeThrough object inside of a SuperscriptText object.
Parameters
- Libraries.Web.Page.StrikeThrough: specifies what will be added to the page.
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.LineBreak: specifies what will be added to the page.
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.UnderlineText: specifies what will be added to the page.
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.DefinitionTerm: specifies what will be added to the page.
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.Audio content)
This action places an Audio object inside of a SuperscriptText object.
Parameters
- Libraries.Web.Page.Audio: specifies what will be added to the page.
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.StrongText content)
This action places a StrongText object inside of a SuperscriptText object.
Parameters
- Libraries.Web.Page.StrongText: specifies what will be added to the page.
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.SuperscriptText: specifies what will be added to the page.
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.Attribute attribute)
This action adds an attribute to this object. If an attribute with the same name as
Parameters
- Libraries.Web.Page.Attribute: The attribute that will be stored.
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 SuperscriptText object.
Parameters
- Libraries.Web.Page.Select: specifies what will be added to the page.
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.Option content)
This action places a Option object inside of a SuperscriptText object.
Parameters
- Libraries.Web.Page.Option: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Option option
page:Add(option)
text value = page:Generate()
output value
end
end
Add(Libraries.Web.Page.Label content)
This action places a Label object inside of a SuperscriptText object.
Parameters
- Libraries.Web.Page.Label: specifies what will be added to the page.
Example
use Libraries.Web.Page.all
class Main
action Main
WebPage page
Label labe