> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:default

> Defines the fallback block within arc:select that executes when no arc:case values match the selected value.

Use the `arc:default` keyword with the [arc:select](https://docs.arc.cdata.com/26.4/cloud/en/scripting/keyword-reference/op-arc-select.md) keyword. `arc:default` consists of a block of ArcScript that is executed if the value in `arc:select` does not match any of the values in [arc:case](https://docs.arc.cdata.com/26.4/cloud/en/scripting/keyword-reference/op-arc-case.md).

## Parameters

None

## Control Attributes

None

## Example

Display an icon based on a condition. The `arc:case` elements match `CompanyA` and `CompanyB` in the `company_name` attribute. If any occurrences are found, take the action associated with that case.

```xml theme={null}
<arc:select value="[company_name]">
  <arc:case value="CompanyA">
    <img src="http://www.companya.com/favicon.ico" />
  </arc:case>
  <arc:case value="CompanyB">
    <img src="http://www.companyb.com/favicon.ico" />
  </arc:case>
  <arc:default>
    <img src="http://www.myhosting.com/generic.ico"/>
  </arc:default>
</arc:select>
```

## See Also

* [arc:select](https://docs.arc.cdata.com/26.4/cloud/en/scripting/keyword-reference/op-arc-select.md): Write a multiselect ArcScript block.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.