## HtmlSource.FromString method

## FromString(string, string) {#fromstring_string_string}

Decoded markup with its base URI.

```csharp
public static HtmlSource FromString(string html, string baseUri)
```

| Parameter | Type | Description |
| --- | --- | --- |
| html | string | The markup. |
| baseUri | string | An absolute http(s) or file URI, or about:blank. |

### Return Value

[HtmlSource](../)

### See Also

* class [HtmlSource](../)
* namespace [Aspose.Css](../../)
* assembly [Aspose.CSS](../../../)
