folder

CT310

Recitation 2 - A Simple Recipe

In this recitation, we will:


  1. Open your favorite text editor

  2. Bluefish logo
    • BlueFish is pretty simple and has nice syntax highlighting for HTML, CSS, etc.
    • There are some "fancy" IDEs for web dev, but for the sake of simplicity/this exercise, use a text editor!
  3. Create the file

  4. In your "local_directory", create a subdirectory called "lab2" and inside it add an HTML file called "recipe.html". In a terminal, set the following permissions.

    • chmod 711 local_html/lab2
    • chmod 644 local_html/lab2/recipe.html

  5. Before the Content

  6. The first line of your HTML files should always specify the DOCTYPE.

    Add some "meta" tags

    • These give details on the metadata of the webpage, important to search engines(web crawlers)!

    Next, add the "html", "header", and "body" tags

    • These help guide you while writing your web pages
  7. Recipe

  8. Finally, add your content!

    • Use a variety of HTML tags to format a simple page, like headings,lists, tables, etc.
    • Here's a good resource: w3schools.com

Click Here!