Adding Standard Input Fields

The library provides specific methods for adding standard HTML elements:

Note on Attributes: The $attr argument accepts any HTML attribute (e.g., placeholder, required, class) or JavaScript event, separated by commas.