HTML Computer Science
Beginner
20 mins
Teacher/Student led
What you need:
Chromebook/Laptop/PC

HTML Basic Elements

In this step-by-step lesson, you'll learn the basics of HTML. You'll explore how to create headings, paragraphs, breaks, images, and links. Finally, you'll apply your new skills to write your own HTML code, incorporating all these elements. Get ready to dive into the world of web development!

Teacher Class Feed

Load previous activity

    1 - Headings

    HTML comes with 6 different heading tags <h1> to <h6>. The most important headings on a page use <h1>, the second most important headings use <h2> and so on.

    2 - Paragraphs

    Paragraphs are defined using the <p> tag. Each paragraph will go onto a new line with some space above and below it.

    3 - Break

    Breaks are defined using the <br> tag. This tag puts a line break wherever it's included.

    4 - Images

    Images are defined using the <img> tag. For each <img> tag we need to give some extra information for the location of the image file to show and the width and height. These are called attributes and they go inside the <img> tag.

    • src - this is the source or location of the image file to display.
    • width - we can say how wide the image should appear (in pixels or a percentage).
    • height - we can say how high the image should appear (in pixels or a percentage).
    123learn · Online learning platform

    Unlock the full learning experience

    You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2026. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more