Struttura di un documento
Ogni documento HTML (pagina Web) deve contenere determinati tag standard, i tag head e body . La sezione "head" contiene il titolo della pagina Web (e gli eventuali script), mentre la sezione "body" contiene il corpo del testo che appare nella pagina Web così come viene visualizzata nel browser.
Segue un esempio della struttura di un documento:
<html>
<head>
<title>Title goes here</title>
</head>
<body>
<center>
<p>
<font size=+2>Welcome to my page</font>
</p>
<p>
The p is a paragraph tag, which tells the browser that this is all one paragraph.
</p>
</center>
</body>
</html>
I tag necessari in ogni documento HTML sono html , head e body .
|