HTML
Beginner
60 mins
Teacher/Student led
+125 XP

Side by Side

This lesson shows how to place content side by side on a website using a row block. Pupils drag a picture and text into the row, view the horizontal layout, and examine the HTML wrapper created.

Teacher Class Feed

Load previous activity

    1 - Start: What We're Building ~5 mins

    Your site already has a banner across the top.

    Key point

    Today you will put two things side by side on a page, instead of one under the other.

    You will use a new block called a row, which holds two things beside each other instead of one above the other.

    2 - One Under the Other, or Side by Side ~5 mins

    Until now, everything on your page sits in one long column. A heading, then text, then a picture, then more text. One thing under the next.

    Key point

    A row lets two things sit beside each other instead.

    A row is a block that holds other blocks. You put things inside it. Then those things share the same line on the page.

    Here is a row holding a picture and a line of text:

    {"languageVersion": 0, "blocks": [{"type": "wp_row", "inputs": {"ITEMS": {"block": {"type": "wp_picture", "fields": {"IMG": "ball"}, "next": {"block": {"type": "wp_text", "fields": {"TEXT": "I play football every Saturday with my friends.", "SIZE": "normal", "ALIGN": "left"}}}}}}]}

    3 - Notice the Single Column ~3 mins

    Open the interactive. Your site is already there.

    Look at the Home page on the Your web page tab.

    Find the picture and the sentences near it.

    Key point

    Notice how they sit: one under the other, in one tall column.

    Tip

    Do not move anything yet. Just look.

    Interactive activity

    4 - Add a Row and Put a Picture Inside ~8 mins

    Open the Blocks tab on your Home page.

    From Layout, drag a row block onto your page.

    Drop it under the first text block, above the picture.

    The row should look open, ready to hold things inside.

    Now find the picture block already on your page (from Content), or pick a different picture from Content if you prefer.

    Drag that picture inside the row, where the row opens out.

    Key point

    Not above the row. Not below it. Inside it.

    Open the Your web page tab. You should see the picture sitting in the row.

    Tip

    If the picture is still in the tall column on its own, drag it again into the open part of the row.

    Interactive activity

    5 - Put Text Beside the Picture ~8 mins

    Stay on the Blocks tab on your Home page.

    Find the text block (from Content) that talks about the hobby in the picture (for example, the football sentences).

    Key point

    Drag that text block inside the same row, next to the picture.

    Both blocks should sit inside the row together.

    Open the Your web page tab.

    The picture and the sentences should now sit side by side.

    Watch out

    If one of them is still under the row on its own, drag it inside the row again.

    Interactive activity

    DigitalSkills.org · 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 DigitalSkills.org 2017 - 2025. 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