HTML Basics
Let's get started. Hover over each slide to view:
- How to read HTML
- Create an HTML document
- Write document head
- Write document body
- Add images and links
Syntax:
How to read HTML
To create an html document:
- Open Notepad or similar text editor
- Change character set to UTF8
- Save document as whatever.html
- Copy what you see in the following slide:
Document Structure:
Create an HTML document
Note: it is not necessary to create a CSS document in order to display your HTML page. [What this page would look like without CSS]
Checkpoint: Verify that your document looks something like this.
To view your HTML document's progress: Save your work (for simplicity, do not close Notepad).
- Go to wherever you saved the file and double click it: usually it will automatically display in your default web browser.
- If it does not display: right click the document and select OPEN WITH and select your browser.