src/MvcContrib.FluentHtml/Elements/Element.cs
/// <summary>
/// Set the value of a specified attribute.
/// </summary>
/// <param name="name">The name of the attribute.</param>
/// <param name="value">The value of the attribute.</param>
Set the value of a specified attribute.
Set the value of a specified attribute .
public virtual T Attr(string name, object value)
		{
			((IElement)this).SetAttr(name, value);
			return (T)this;
		}
public virtual T Attr ( string name , object value ) { ( ( IElement ) this ) . SetAttr ( name , value ) ; return ( T ) this ; }
Set the value of a specified attribute.
Set the value of a specified attribute .
name
string
The name of the attribute.
The name of the attribute .
value
object
The value of the attribute.
The value of the attribute .