LineBreak

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

The LineBreak class represents HTML's (Hypertext Markup Language) br tag which creates a new line. You can find more information about this tag at: The br attribute.

Example Code

use Libraries.Web.Page.all
class Main
action main
   WebPage page
   
   LineBreak lb
   Paragraph p
   p:SetDescription("This is on the first line." + lb:Generate() + "This is on a new line.")
   
   page:AddToBody(p)
   output page:Generate()
end
end

Actions

Generate()

Returns

text

Inherited Actions

2 actions from Libraries.Language.Object
10 actions from Libraries.Web.Page.AttributeAccepter
29 actions from Libraries.Web.Page.GlobalAttributeAccepter
8 actions from Libraries.Web.Page.WebTag