A little HTML

HTML files tell browsers what data to show. HTML is the core language of the web.

There are almost 100 HTML tags. Ack! You'll learn about a dozen. That might not seem like many, but it's enough to get the job done.

You'll be making some pages in this part of the course. Make a new subdomain to put them in. Call the subdomain littlehtml.

Exercise: Subdomain for HTML exercises
Make a subdomain called html. This is where your exercise solutions for this course module will go.

Add encryption, if you have Let's Encrypt.

Put an HTML file called index.html in the root of the subdomain. Recall that index.html is the default file that the server returns when the user doesn't type the file name.

Use <h1> and <p> tags in index.html. Add an animal joke.

Your page will have two URLs:

  • https://html.YOUR DOMAIN/index.html
  • https://html.YOUR DOMAIN

(If you didn't use encryption, the protocol will be http, not https.)

Test that both URLs work. Submit them both.

(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)