---
title: "Task.HtmlBody"
url: "https://reference.aspose.com/email/net/aspose.email.calendar/task/htmlbody/"
product: "Aspose.Email for .NET API Reference"
description: "Task property. Gets or sets the HTML body of the task"
---

## Task.HtmlBody property

Gets or sets the HTML body of the task.

```csharp
public string HtmlBody { get; set; }
```

### Property Value

The detailed description of the task as HTML markup.

## Remarks

Set [`Body`](../body/) as well, so that applications which cannot display HTML still show the description.

### See Also

* class [Task](../)
* namespace [Aspose.Email.Calendar](../../task/)
* assembly [Aspose.Email](../../../)


