Class yii\helpers\Html

Html provides a set of static methods for generating commonly used HTML tags.

Nearly all of the methods in this class allow setting additional html attributes for the html
tags they generate. You can specify, for example, class, style or id for an html element
using the $options parameter. See the documentation of the tag() method for more details.