Open your favorite text editor
- 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!
Create the file
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
Before the Content
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
Recipe
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