<?xml> and <!DOCTYPE> Tags

The first two lines in the file shown above are common to most JSF pages. They identify the type of the file and its character coding.

Web programmers need to add attributes to the html tag and add content to the h:head, h:body, and h:form tags.

The <html> Tag

For JSF, the most important attributes of the <html> tag are the xmlns (namespace) attributes.

Specifies information about the document as opposed to content that appears in the document. It often has the following content tags.

Contains content to be displayed in the page.
Groups elements that provide data input to the server.