Figure 11–1 shows a typical login form, in which a user enters a user name and password, and submits the form by clicking the Login button.
<h:form> ... other JavaServer Faces tags and other content... </h:form>
The form tag can also include HTML markup to lay out the components on the page. The form tag itself does not perform any layout; its purpose is to collect data and to declare attributes that can be used by other components in the form. A page can include multiple form tags, but only the values from the form that the user submits will be included in the postback.