Hi I'm developing a new site with Drupal, For some reason I want to add a span or label (I prefer a <span>) before the input search field which is rendered by Drupal.
Is there any way to achieve it? I'm not really happy to modify the core files.
Any help would be appreciated.
Drupal Version : 7
You can use hook_form_BASE_FORM_ID_alter() hook to add your HTML to the existing markups,