HTML - Week 01


Welcome to the first week of Intro to Web Development!

This week we’re learning about HTML, which is the foundational coding language used in web development.


HTML

First, you’ll learn about creating HTML files:

For this class, you’ll be using an online code editor called Replit:

After you have your Replit editor set up with a new HTML project, learn more about HTML tags:

Project

Now you know how to make a webpage by writing HTML in the Replit editor.

To practice that, create a webpage that contains at least ten HTML tags.

Use resources like W3Schools and Mozilla Developer Network to learn about HTML tags. And don’t be afraid to search for new tags!


For example:

<!DOCTYPE html>
<html>
  <head>
    <title>My First Webpage</title>
  </head>
  <body>
    <h1>Hello World</h1>
    <p>Welcome to my first webpage!</p>
  </body>
</html>

This code contains 7 HTML tags: DOCTYPE (technically this isn’t an HTML tag but I’m counting it anyway), html, head, title, body, h1, and p.

Try creating a webpage that introduces yourself using at least ten HTML tags. What are your hobbies, favorite movies or songs, or favorite places to eat?

Styling Content

This week is all about setting up your environment and learning HTML, which tells your browser what types of content to display. Your browser has some default rules about how to style different types of content. For example, headings are large and bold, and links are blue and underlined.

If you want to customize the styles of your content, like changing colors or layout, you’ll need to go beyond HTML and use CSS.

For now, focus on HTML without worrying too much about styling. You’ll learn about CSS in week 3!