DefinedTerm

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 DefinedTerm class represents HTML's (Hypertext Markup Language) dfn tag, which marks a term at the place it is introduced or defined. Screen readers and search engines can tell a defined term from words that are only important or stressed. You can find more information about this tag at: The dfn element.

Example Code

use Libraries.Web.Page.all

class Main
    action Main
        Paragraph paragraph
        paragraph:AddText("The point (0, 0, 0) is called the ")
        DefinedTerm term
        term:AddText("origin")
        paragraph:AddNestedTag(term)
        output paragraph: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