Unable to use ActiveForm

Hello
I want to use ActiveForm to create new form but when i want to run the code its just return a codes.

<?php

use yii\widgets\ActiveForm;

use yii\helpers\Html;

$this->title = 'Contact Form';

?>

<?php $form = Activeform::begin(); ?>

<? $form->field($model,'title'); ?>

<? $form->field($model,'content'); ?>

<? $form->field($model,'data_add'); ?>

<? Html::submitButton('submit'); ?>

<?php ActiveForm::end(); ?>

You need to echo/print your code

<?= $form->field($model,'title'); ?>

Thanks!
Solved :slight_smile: