The WWW Environment






- the web browser parses the HTML document and displays it according to it's parsing algorithm. (That is why when you use different browsers some sites look different).

Web Browsers



List/genealogy of Web Browsers
Notes

HTML (Hypertext Markup Language)

HTML is the World Wide Web's core markup language. It is constantly changing but gradually (someone who learned HTML 10 years ago will still recognize HTML today) with backward compatibility in mind.

Specification

A great resource you should bookmark and use:

Notes

HTML document

CSS - Visual styling. CSS separates presentation from structure.
JavaScript - Adds programmed function. Makes the web page dynamic.
Notes

Creating an HTML file (1)




What makes HTML a code to be interpreted and not a text file?

- If you name it with a .txt extention, it will be treated as a text file. With a .html extension, it will be treated as a html document. The application used to interpret the file changes. (If you give it a .tif or .jpg extension, an app for image will open your file)

Art work that uses confusion between text and code:

- This classic net art by jodi http://wwwwwwwww.jodi.org/
- One sentence contained within every HTML tag in alphabetical order by Evan Roth


- p.s. Do not name files with spaces. I suggest you use "_" underbars instead.
Notes

Creating an HTML file (2)

Type in the following:

     <!DOCTYPE html>
     <html>
     <head>
     <title> The Title of this HTML Page </title>
     </head>

     <body>
     This is the body of this HTML Page
     </body>
     </html>
   
Notes

Creating an HTML file (3)

  1. Save the file as plain text with the extension of .html (.htm is okay too).
  2. Open this file from your browser.
    On Chrome: File -> Open File
  3. Whenever you change the content of the html file, and the change is saved, you should see the change reflected when you reload the page (Reload this page button on top left or Cmd+r ).
Notes

Full Template

     <!DOCTYPE html>
     <html lang="en">
     <head>
     <meta charset="utf-8">
     <title> The Title of this HTML Page </title>
     </head>

     <body>
     This is the body of this HTML Page
     </body>
     </html>
   
The area in red is required to pass the strictist HTML specification
Notes