Home > Teaching > Tutorials > HTML Tutorial

HTML sections: the head and body

Page shell:

	<!-- Head section -->
	<!-- Body section -->

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:

  <title>Page Title</title>
  <h3>David Diez</h3>
    <!-- h3 signifies "header" and will be larger text -->
  <p>UCLA graduate student<br />
    Department of Statistics</p>
Previous: comments, spacing, and tags Next: adding links