HtmlCodeBuilder 1.1.0

Fluent way to create HTML code in C# .NET Core.

var html = HtmlTag.Create("p", new HtmlElement[] {
   HtmlText.Create("Lorem ipsum dolor sit amet, consetetur sadipscing elitr."),
   HtmlTag.Create("figure", new[] {
       HtmlTag.Create("img").AddAttribute("src", "").AddStyles(
           new[] { new[] {"width", "8cm"}, new[] {"height", "auto"} }
       HtmlTag.Create("figcaption", "My Logo")
   HtmlText.Create("Lorem ipsum dolor sit amet, consetetur sadipscing elitr.")

There is a newer version of this package available.
See the version list below for details.
Install-Package HtmlCodeBuilder -Version 1.1.0
dotnet add package HtmlCodeBuilder --version 1.1.0
<PackageReference Include="HtmlCodeBuilder" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HtmlCodeBuilder --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 452 7/16/2018
1.1.0 206 7/12/2018