#guestbook-form { width: 500px; margin: auto; }

When you renamed your page from index.html to guestbook.shtml , you were telling the server: "Hey, before you send this page to the visitor, look through it for special instructions."

Create a file named style.css in the same directory. This will add some basic styling to your guestbook.

Building an active guestbook required the page to display new entries dynamically. Webmasters used guestbook.shtml to achieve this efficiently:

Understanding guestbook.shtml : The Tech, History, and Vulnerabilities of Server-Side Includes

Create a file named script.js in the same directory. This script will handle form submissions and display entries.

<script src="script.js"></script> </body> </html>

De la misma serie

Ver todos los libros

Del mismo nivel

Ver todos los libros