---
id: fast-foundation.elementdefinitioncontext.tagfor
title: ElementDefinitionContext.tagFor() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ElementDefinitionContext](./fast-foundation.elementdefinitioncontext.md) &gt; [tagFor](./fast-foundation.elementdefinitioncontext.tagfor.md)

## ElementDefinitionContext.tagFor() method

Returns the HTML element tag name that the type will be defined as.

<b>Signature:</b>

```typescript
tagFor(type: Constructable): string;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  type | [Constructable](./fast-element.constructable.md) | The type to lookup. |

<b>Returns:</b>

string
