How to render a static html from a drupal module I need to call a static html page and display the content of it when calling it from the module function , i tried to call from the form api but its just rendering the full markup ,please help 

here is the try :

$items['mailusers/staticpage'] = array(
    'title' =&gt; t('My Static Page'),
    'page callback' =&gt; 'my_static_page',
    'access arguments' =&gt; array('access GASF admin menus'),
    'access callback' =&gt; TRUE,
  );

  return $items;


and the function 

function my_static_page() { 
     $form['html'] =  array(
    '#type' =&gt; 'markup',
    '#markup' =&gt; //'&lt;h2&gt;My Heading&lt;/h2&gt;'
         file_get_contents(drupal_get_path('module', 'mailusers') .'/mailuser.tpl.php'),
  );
 return drupal_render($form);
}
The easiest way is to create a template file and use hook_theme


Put your html in a html-page.tpl.php in your module directory.
Use following code to render the html template in your page.


After adding the code make sure you clear your Drupal cache.

function my_static_page() { 
  $html = theme('html_page');
  return $html;
}

/**
 * Implements hook_theme().
 */
function your_module_theme($existing, $type, $theme, $path) {
  return array(
    'html_page' =&gt; array(
      'template' =&gt; 'html-page',
    ),
  );
}