I have a very general web page on which I display information. I have this code in my .cshtml:
<div style="text-align: left">
Test <p style="color: #1e83ca;"> @Html.Label(Model.MemberName) </p>
Beruf @Html.Label(Model.ProfessionName)
Datum @Html.Label(Model.TestTakenDate.ToString())
</div>
I want to distinguish between text that I am reading from a database from fixed text. I use a helper shortcut and there is no difference. I get all the black text. How to do only what is in @ Html.label in a different color? OR what else can I use to make them look different.
source
share