PHP code example of nemundo / html

1. Go to this page and download the library: Download nemundo/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/ */

    

nemundo / html example snippets


$html = new \Nemundo\Html\Document\HtmlDocument();
$html->title = 'Document Example';

$h1 = new \Nemundo\Html\Heading\H1($html);
$h1->content = 'Hello World!';

$p = new \Nemundo\Html\Paragraph\Paragraph($html);
$p->content = 'Lorem ..';

$html->render();