0% found this document useful (0 votes)
30 views2 pages

1

This document is the HTML code for a personal website featuring a home page, info section, gallery, and contact form. It includes styling for buttons and a background image, as well as a section for displaying comments from a database. Additionally, it embeds an audio file that plays automatically when the page is loaded.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views2 pages

1

This document is the HTML code for a personal website featuring a home page, info section, gallery, and contact form. It includes styling for buttons and a background image, as well as a section for displaying comments from a database. Additionally, it embeds an audio file that plays automatically when the page is loaded.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

<h<!

DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<body>
<title>My Personal Website</title>
</head>

<body>
<br>
<center>
<table border="3">
<tr><th><h1><font size ="50" face="broadway"><font color="white">My Personal
Website </h1></font></tr></th>
<table>
<br>
<br>
<br>

<style>

body
{
background-image: url(nature.jpg);
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
color: #000000;
font-family: Arial;
font-weight: normal;
font-size: 13px;
line-height: 1.1875;
margin: 0;
padding: 0;
}

.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
#footer {background-color:gray; color:white; clear:both; text-align:center;
padding:5px;}
.button2 {background-color: #008CBA;} /* blue */
.button3 {background-color: #f44336;} /* blue */
.button4 {background-color: #e7e7e7; color: black;} /* blue */
.button5 {background-color: #555555;} /*blue */
</style>
</head>
<body>
<a href="index.php"><button class="button">Home</button></a>
<a href="info.php"><button class="button button2">Info</button></a>
<a href="gallery.php"><button class="button button3">Gallery</button></a>
<a href="contact.php"><button class="button button4">contact us</button></a>
<tr><table border="3">
<tr><th style='background-color:violet; color:white;'>CONTACT NUMBER</th><th
style='background-color:violet; color:black;'>Facebook Account</th></tr>
<tr><th style='background-color:white; color:black;'>Number:
09876543223</font></th><th style='background-color:white; color:black;'>Edmaleen
Adolfo</th></tr>
</table>
</body>
<?php
include('dbcon.php');

?>
<form action="save.php" method="POST">
<table>
<tr>
<th><font color="White"> Comment Here! </th></tr>
<th><input type="text" name="Comment" style="width:325px;height:130px;"></th>
<th></th><th><input type="submit" name="submit" value="Submit" id="Button1"
style="width:95px;height:30px;">

</table>

</form>
</body>
<table border="1"><tr>
<th style='background-color:violet; color:#fff;width:200px;'>&nbsp;&nbsp;Comment
&nbsp;&nbsp;</th><th style='background-color:violet;
color:#fff;width:150px;'>Date</th>
</tr><?php
include('dbcon.php');

$a=mysql_query("select * from form");


while($b=mysql_fetch_array($a))

{
?>
<tr><td style='background-color:white; color:black;'>&nbsp;<?php echo
$b['Comment']?>&nbsp;</td><td style='background-color:white;
color:black;'>&nbsp;<?php echo $b['Date']?>&nbsp;</td>
</tr>
<?php
}
?></table>

</html>

</html>
</center>
<embed src="catch my breath.mp3" controller="true" autoplay="true" autostart="True"
width="0" height="0" />

You might also like