Step 4

HTML Basics

HTML Sandwich

  1. doctype
  2. html
  3. head
  4. body

The HTML Sandwich Structure

Tags

It is constructed via a set of tags. Tags are used to delimit the start and end of elements in the markup. These can reference structure, or elements such as type.

<header1> HEADER </header1>

<header2> HEADER2 </header2>

<body> BODY </body>

<footer> FOOTER </footer>

Some HTML History

Creating Links

Learn about SVSU

Index Page

We commonly refer to this as the home page, but to function properly it should be coded as index.html. Browsers automatically recognize that as the home page. Never save your home page as home.html. You will have to use special code for a browser to recognize it as the home page and it might not work with all browsers.