Many libraries that create html rely on HtmlTextWriter. Is there an equivalent to this class in the new corefx?

Here are a few projects that rely on HtmlTextWriter:
<https://github.com/darthfubumvc/htmltags>
<https://fluenttags.codeplex.com/>

An alternative question might be: "What is the best way to generate html using dotnet core / corefx?"