Text output will generally be HTML encoded. Using Html.Raw allows you to output text containing html elements to the client, and have them still be rendered as such. Should be used with caution, as it exposes you to cross site scripting vulnerabilities.
Text output will generally be HTML encoded. Using Html.Raw allows you to output text containing html elements to the client, and have them still be rendered as such. Should be used with caution, as it exposes you to cross site scripting vulnerabilities.
HtmlHelper.Raw MSDN
Html.Raw
For Example :
Controller
index view
output
hey friends lets go
for chillout
Yes, it is specific to MVC.
It writes unencoded HTML to your page. Most other methods HTML-encode a string when you write it to the page.