How to change view title tag ? Drupal uses the &lt;h1&gt; tag in the title of the view. I want to change title's tag &lt;h1&gt; to &lt;h2&gt;.
hope this will help you..

function mymodule_views_pre_render(&amp;$view) {

  if ($view-&gt;name == 'view_name') {

    // Here you can do any php you want to get the title you need for your view.

    $view-&gt;build_info['title'] = "&lt;h2&gt;My custom title!&lt;/h2&gt;";
  }


or by views-view-unformatted--viewmachinename.tpl.php file

 &lt;?php if (!empty($title)): ?&gt;
  &lt;h2&gt;&lt;?php print $title; ?&gt;&lt;/h2&gt;
&lt;?php endif; ?&gt;
&lt;?php foreach ($rows as $id =&gt; $row): ?&gt;
  &lt;div&lt;?php if ($classes_array[$id]) { print ' class="' . $classes_array[$id] .'"';  } ?&gt;&gt;
    &lt;?php print $row; ?&gt;
  &lt;/div&gt;
&lt;?php endforeach; ?&gt;