Using hook_form_alter to add a label/placeholder insider a form  tag using Drupal Commerce checkout form there is a default 'address' field (it's dynamic and includes several fields in one that are not easy to separate - such as country, name, address 1 and 2, state, etc.). I turned off the labels for the address field because they are ugly and I'd like to put the labels INSIDE each  tag, as you would normally do with html like so:

HTML 5:

&lt;input type="text" name="user" placeholder="Username"&gt;


Where the 'placeholder' property shows what should be entered into the field within the  tag, thus removing the need to have a separate label at all.

Anyone know how to do this (include a placeholder property if you will) with hook_form_alter?
You can specify placeholder attribute in '#attributes' array like this:

function MODULE_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form_id == 'form_id') {
    $form['item']['#attributes']['placeholder'] = t('Placeholder text');
  }
}