tag_attributes¶
Summary¶
- tag_attributes(array|string $attributes, string $value)¶
Generate attributes for HTML tags.
Parameters: - $attributes (array|string) – Attributes for the tag. If this is a string, it will assign both ‘name’ and ‘id’ attributes that value for the tag.
- $value (string) –
Returns: string