PHP code example of romancc9 / html

1. Go to this page and download the library: Download romancc9/html library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

romancc9 / html example snippets




use Rcc\Html\Tags\Div;

$div = new Div(10);
echo (new Div())->appendText('Hello, I am a Div')->toHtml();