# Tag Name: url

## Description

This tag is used to create a URL

## Attributes

#### Dynamic Attributes Allowed:

false

#### Name

#### Required

#### Default

#### Evaluated

#### Type

#### Description

action | false |  | false | String | The action to generate the URL for, if not using value
anchor | false |  | false | String | The anchor for this URL
encode | false | true | false | Boolean | Whether to encode parameters
escapeAmp | false | true | false | Boolean | Specifies whether to escape ampersand (&) to (&amp;) or not
forceAddSchemeHostAndPort | false | false | false | Boolean | Specifies whether to force the addition of scheme, host and port or not
id | false |  | false | String | Deprecated. Use 'var' instead
includeContext | false | true | false | Boolean | Whether actual context should be included in URL
includeParams | false | none | false | String | The includeParams attribute may have the value 'none', 'get' or 'all'
method | false |  | false | String | The method of action to use
namespace | false |  | false | String | The namespace to use
portletMode | false |  | false | String | The resulting portlet mode
portletUrlType | false |  | false | String | Specifies if this should be a portlet render or action URL. Default is "render". To create an action URL, use "action".
scheme | false |  | false | String | Set scheme attribute
value | false |  | false | String | The target value to use, if not using action
var | false |  | false | String | Name used to reference the value pushed into the Value Stack
windowState | false |  | false | String | The resulting portlet window state