HTML: the Basics
HTML, or Hypertext Markup Language, is a coding language used to create
webpages. HTML consists of tags that are enclosed within angled
brackets. Tags must be opened and closed, with the content of the page
in between tags; an end tag contains a slash, while the open tag does
not. Tags are not visible on the webpage itself in the browser.
Common HTML Tags
- < !DOCTYPE > - defines document type
- < div > - section
- < p > - paragraph
- < title > - title on the browser
- < ol > - ordered (numbered) list
- < ul > - unordered (bulleted) list
- < body > - body
- < h1 > < h2 > < h3 > - headers
Getting Started
Use a basic notepad application, such as Textwrangler for OSX, to write HTML. Save the file as a .html file. Opening the file on the Desktop will open the file to view in the browser. Continue to edit the file in the text editor before uploading it to a server.
