-2

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

gump
  • 1
  • Possible duplicate of [Best practice to create a template in HTML](https://stackoverflow.com/questions/16132341/best-practice-to-create-a-template-in-html) – Nebula Mar 09 '19 at 19:51

1 Answers1

0

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

Ahmed Gaafer
  • 1,603
  • 9
  • 26