HOME.HTML
Código
<?php require('header.php'); ?> <!-- Page Content --> <p>Welcome to the home of TLA Consulting. Please take some time to get to know us.</p> <p>We specialize in serving your business needs and hope to hear from you soon.</p> <?php require('footer.php'); ?>
HEADER.PHP
Código
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> h1{color:white; font-size:24pt; text-align:center; font-family:arial,sans-serif; font-weight:bold} .menu{color:white; font-size:12pt; text-align:center; font-family:arial,sans-serif} td{background:black} p{color:black; font-size:12pt; text-align: justify; font-family: arial,sans-serif; font-weight:bold} p.foot{color:white; font-size:9pt; text-align:center; font-family:arial,sans-serif; font-weight:bold} a:link,a:visited,a:active{color:white} </style> </head> <body> <!-- Page Header --> <table width="100%" cellpadding="12" cellspacing="0" border="0"> <tr bgcolor="black"> </tr> </table> <!-- Menu --> <table width="100%" bgcolor="white" cellpadding="4" cellspacing="4"> <tr> <td width="25%"> <img src="img/logo.gif" alt="" height="20" width="20"> </td> <td width="25%"> <img src="img/logo.gif" alt="" height="20" width="20"> </td> <td width="25%"> <img src="img/logo.gif" alt="" height="20" width="20"> </td> <td width="25%"> <img src="img/logo.gif" alt="" height="20" width="20"> </td> </tr> </table>
FOOTER.PHP
Código
Mod: Temas sobre PHP van al subforo de PHP.