title: Yii CHtml or traditional HTML inputs
body: <p>I've just started coding in Yii2. I am very curious if there are advantages in creating the forms with CHtml rather than using pure HTML.</p>
  
  <p>I've searched the internet, stack overflow and I couldn't find any good answer to this question.</p>
  
  <p>From what I realized using <code>CHtml::dropDownList</code> is usefull when you want to populate it from the DB, but are there any other advantanges using other functions that I don't know about?</p>