Home > Teaching > Tutorials > HTML Tutorial
Page shell:
<html> <head> <!-- Head section --> </head> <body> <!-- Body section --> </body> </html>
Generally no one puts things in the head that are supposed to be shown explicitly on the page. The head section is for other types of tags that can influence page appearance, and it is also where to add a title to the page (the title appears on the window's top bar -- the title for this page is "HTML Tutorial"). What should appear on the page should be placed between the body tags.
Sample html file:
<html><head> <title>Page Title</title> </head> <body> <h3>David Diez</h3> <!-- h3 signifies "header" and will be larger text --> <p>UCLA graduate student<br /> Department of Statistics</p> ... </body></html>
Previous: comments, spacing, and tags | Next: adding links |