Styling HTML Helper Method Output

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Instructor

Bob Tabor

Description

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.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)

Series

This course is part of the following series: