Html

A port of the ASP.NET MVC HtmlHelper class to Blazor.

Syntax

public static class Html

Inheritance

Methods

Raw

public static MarkupString Raw(string content)
Outputs HTML to the browser without encoding it.

Parameters

Returns

MarkupString A containing the pre-encoded HTML.

Remarks

https://github.com/aspnet/AspNetWebStack/blob/main/src/System.Web.Mvc/HtmlHelper.cs & https://github.com/dotnet/aspnetcore/tree/main/src/Mvc/Mvc.ViewFeatures/src/Rendering