HTML Structure

This PHP structure uses <?php include; ?> to load modular partials such as the head, menu, footer, and scripts etc... These includes are processed via the Gulp file include plugin, enabling a maintainable and scalable layout system with reusable HTML blocks across the project.


    <!DOCTYPE html>
<html lang="en">

<head>
    <?= $this->element('title_meta', ['title' => 'Starter Page']) ?>

    <?= $this->element('head_css') ?>
</head>

<body>
    <!-- Begin page -->
    <div class="wrapper">

        <?= $this->element('menu') ?>

        <!-- ============================================================== -->
        <!-- Start Main Content -->
        <!-- ============================================================== -->

        <div class="content-page">

            <div class="container-fluid">
                
                <?= $this->element('page_title', ['title' => 'Starter Page']) ?>

                <!-- add your content here -->

            </div>
            <!-- container -->

            <?= $this->element('footer') ?>

        </div>

        <!-- ============================================================== -->
        <!-- End of Main Content -->
        <!-- ============================================================== -->

    </div>
    <!-- END wrapper -->

    <?= $this->element('customizer') ?>
    
    <?= $this->element('footer_scripts') ?>

</body>

</html>

                        
© 2014 - Inspinia By WebAppLayers
10GB of 250GB Free.