## <sas:Label>

Generate text.

### Syntax

`<sas:Label
[customAttributes="java.lang.String"]
[encodedURL="true|false"]
[encodeText="true|false"]
[epilog="java.lang.String"]
[for="java.lang.String"]
[id="value"]
[instantiate="true|false"]
[locale="java.util.Locale"]
[model="java.lang.String"]
[name="java.lang.String"]
[nullTextString="java.lang.String"]
[objectDataProperty="java.lang.String"]
[prolog="java.lang.String"]
[ref="java.lang.String"]
[render="true|false"]
[scope="page|request|session|application"]
[target="java.lang.String"]
[text="java.lang.String"]
[URL="java.lang.String"]>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:Label>`

### Attributes

`customAttributes` | a list of attributes in the form of attribute="value", space delimited
`encodedURL` | Specifies whether to encode the URL.
`encodeText` | Specifies whether to encode the Label text for html, such as replacing < with &lt;
`epilog` | Text that is output immediately after the last markup tag.
`for` | Id of the element this Label is for
`id` | Case-sensitive name used to identify the object instance.
`instantiate` | Flag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute.
`locale` | Specifies the locale to use for this instance of the class.
`model` | The StringDataInterface model for the LabelTag
`name` | Value assigned to the markup tag's name attribute.
`nullTextString` | Written out if the label's text is null.
`objectDataProperty` | Value assigned to the output tag's objectDataProperty attribute.
`prolog` | Text that is output immediately preceeding the first markup tag.
`ref` | The variable String value that represents an object created earlier in the same scope.
`render` | Flag that, if true, indicates that the complete markup of the bean is output when the tag is closed. It also sets the the visible property on the underlying TransformationBean.
`scope` | The scope (or page context) within which the reference is available.
`target` | The value of the TARGET= argument on the anchor tag
`text` | Text string that is displayed
`URL` | The URL to which the text should be linked.

### More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.html.Label.

If you need to subclass the tag handler class for the sas:Label tag, extend com.sas.taglib.servlet.tbeans.LabelTag.