Attributes |
Name | Required | Request-time | Type | Description |
ariaRole | false | true | java.lang.String | Sets a role for assistive technologies to interpret HTML elements that have been used for something other than their intended purpose. For example, the <p> tag could be used for something other than a paragraph. |
cssClass | false | true | java.lang.String | Sets a CSS class for styling this component. |
data | false | true | java.util.Map | Takes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo; . |
href | true | true | java.lang.String | Sets the URL navigated to when the link is clicked. |
id | false | true | java.lang.String | Identifies the component instance. |
label | false | true | java.lang.String | Sets the text value for the anchor's label. |
lang | false | true | java.lang.String | Sets the language of the anchor component, to assist search engines and web browsers in finding and rendering the anchor appropriately. |
onClick | false | true | java.lang.String | Sets a JavaScript function to be called on a user clicking the anchor. |
target | false | true | java.lang.String | Sets the target window in which the URL is opened. The default value is self . Possible values are blank , self , parent , top , and a unique frame's name. |
title | false | true | java.lang.String | Sets the anchor's title. |