Question

HTML create external elements, for e.g. header

*
30 visibility 0 arrow_circle_up 0 arrow_circle_down

This is my site

<!DOCTYPE html>

<html>

  <head>

    <title>gump</title>
    <meta charset="UTF-8">

    <link rel="stylesheet" type="text/css" href="style.css">

  </head>

  <body>

    <div class="header">
    <a><img src="pictures/logo.png" alt="gump" style="height:25px" href="#default" class="logo";></a>
    <div class="header-right">
    <a class="active">Home</a>
    <a href="links">Links</a>
    <a href="e">Encryption</a>
    </div>
    </div>

    <div style="padding:25px">
    <table style="width:100%; table-layout:fixed">
        <tr>
        <td style="font-weight:bold">Sites</td>
        <td style="font-weight:bold">Partners</td>
        <td style="font-weight:bold">Social Media</td>
        <td style="font-weight:bold">Tools</td>
        <td style="font-weight:bold">Links</td>
        </tr>
        <tr>
        <td><a href="https://www.gumprecht.co.at">Home</a></td>
        <td><a href="https://www.pherbich.com">pherbich.com</a></td>
        <td><a href="https://steamcommunity.com/id/gump2826">Steam</a></td>
        <td><a href="https://www.byom.de/">byom.de</a></td>
        <td><a href="https://www.gumprecht.co.at/">gumprecht.co.at</a></td>
        </tr>
    </table>
    </div>

  <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script></body>

</html>

Thats too much of just the header and the footer, i want to have the header and the footer external on a external html, but how can i get the external header.html and the footer.html in the index.html


    Answer - 1
    0 arrow_circle_up 0 arrow_circle_down

    I was looking recently on the same topic and this article explains how you can do it. Link to the Atricle

    by   *