You can do it with jquery
Suppose you have page1.html page2.html, etc.
You want each of these pages to have your contact information. You can create a file called "info.txt". At the place where you want this contact information, you put a div. as shown in this example
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> </head> <body> <div id="contact"></div> </body> </html> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> <script> $(document).ready(function(){ $("#contact").load("info.txt"); ; }); </script>
Everything that you put in 'info.txt' will be put in place if you put
Richard
source share