element
Create any html element with this component
Arguments
- tag
- Defaults to ‘div’
- content
- Add a text node to the component, added before children
- children
- Add child elements within the tag
Span
Hello World!
echo fuse( 'element', array( 'tag' => 'span', 'content' => 'Hello World!', 'style' => [ 'color' => 'red' ] ) );