Head and Footer

Published: (January 8, 2026 at 04:00 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Head Element

The element comes before the and should hold the title of your website, along with metadata.
The “ element uses the following format:

Figcaption

is used alongside the element to display a caption for an image. The freeCodeCamp example is:

  [Image: A description of the image]
  A cute cat

The “ element often contains information such as copyright notices, contact details, and other site‑wide footnotes. It should be placed after the main content of the page.

Recent Lab

Yesterday I completed a lab for a recipe card. My example passed all the tests, even though the dish itself might not be ready to cook! I enjoyed the lab and will share thoughts on HTML fundamentals—such as “ elements and classes—in a future post.

Back to Blog

Related posts

Read more »

Build a Travel Agency Page

Project Overview Yesterday I completed the Travel Agency page lab from freeCodeCamp’s Responsive Web Design curriculum. The lab provides an example of the fini...

HTML Fundamentals

What are DIV Elements For some reason, I never fully grasped that the element is a container used to group other elements. The lesson clarified the differences...