<form>
    <fieldset>
        <legend>Sign in to your account</legend>
        <div class="controls">

            <label for="id">User ID:</label>
            <input type="text" id="id" name="id" />

            <label for="pwd">Password:</label>
            <input type="password" id="pwd" name="pwd" />

            <input type="reset" value="Reset" />
            <input type="submit" value="Submit" />

        </div>
    </fieldset>
</form>

Output