echo Html::activeTextarea($model, 'description');
echo Html::activeTextarea($model, 'comments', ['rows' => 6, 'class' => 'form-control']);In this example, we've added two attributes to the 'textarea' element - 'rows' and 'class'. The 'rows' attribute sets the height of the element, while the 'class' attribute applies a CSS class to style the element. Package/library: The 'activeTextarea' method is part of the Yii\helpers\Html class, which is included in the Yii framework.