Textmate snippet for html - paired input and label

/ Published in: HTML
Save to your folder(s)

This snippet creates a basic input and label combo for an html form. Has tab stops at relevant places for adding for, id and name attritbutes

Copy this code and paste it in your HTML
  1. <label for="$1" />$2</label>
  2. <input id="$1" name="$1" type="text" />

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.