type
The type
attribute represents the Field Type of the template tag and is a required attribute. Perch comes with a number of built in Field Types, additional types can be added, or developed to add additional functionality.
The below template tag has a type of text and will output a single line text field in the Control Panel.
<perch:content id="main_heading" type="text" label="Main heading">