Practice

Sample note: how an HTML page is put together

Another sample article. It explains the basic parts of a page I am practicing in class and at home.

By Updated 2 min read 34 views Sample article

Sample article. This note demonstrates the blog layout. It is not a published achievement.

Cover image for Sample note: how an HTML page is put together

This sample note shows a second article card, a category, and related posts. I wrote it as layout practice. It does not describe a completed website for a client.

The pieces I use

An HTML page starts with a document type, a head, and a body. The head holds the title. The body holds the words and pictures people actually see.

<main>
  <h1>Mahir Faysal</h1>
  <p>Student and aspiring developer.</p>
</main>

What CSS adds

CSS is how I change spacing, color, and layout. I am still learning how to keep a page comfortable on a phone and on a large screen.

Share X LinkedIn WhatsApp Facebook
Was this helpful?

0%