Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Styling HTML Helper Method Output

Posted By: naag
Styling HTML Helper Method Output

Styling HTML Helper Method Output
MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 15M | 93 MB
Genre: eLearning | Language: English

In this session, we learn how to add attributes to any HTML tag that’s generated via a call to any HTML helper method that renders markup. We add class and id attributes, create anonymous objects, creating AdditionalViewData and ViewDataDictionary values, and talk about escaping reserved words in Razor using the @ symbol.

Styling HTML Helper Method Output