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 »

Theory is often overlooked

One of the many things that I really like about version 10 of the Responsive Web Design Certification on freeCodeCamp is the theory exercises. Ever since taking...

Learning with freeCodeCamp

So the New Year brought some changes and, hopefully, commitments. I joined the DEV Community and also created a new account on freeCodeCamp, starting with versi...

Htmx: High Power Tools for HTML

Article URL: https://github.com/bigskysoftware/htmx Comments URL: https://news.ycombinator.com/item?id=46524527 Points: 9 Comments: 1...