## AmpComponent class

Base class to representation amp components.

```csharp
public abstract class AmpComponent
```

## Properties

| Name | Description |
| --- | --- |
| [Attributes](../../aspose.email.amp/ampcomponent/attributes/) { get; } | AMP provides a set of common attributes that are extended to many AMP components. |
| [Fallback](../../aspose.email.amp/ampcomponent/fallback/) { get; set; } | A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. |
| [Placeholder](../../aspose.email.amp/ampcomponent/placeholder/) { get; set; } | The element marked with the placeholder attribute acts as a placeholder for the parent AMP element. If specified, a placeholder element must be a direct child of the AMP element. |
| abstract [RequiredScript](../../aspose.email.amp/ampcomponent/requiredscript/) { get; } | Required script that muct be added to head section. |

## Methods

| Name | Description |
| --- | --- |
| abstract [ToAmpHtml](../../aspose.email.amp/ampcomponent/toamphtml/)() | Represents amp html version of component. |
| abstract [ToHtml](../../aspose.email.amp/ampcomponent/tohtml/)() | Represents html version of component. |

### See Also

* namespace [Aspose.Email.Amp](../../aspose.email.amp/)
* assembly [Aspose.Email](../../)


