HTML and Web Pages Basics

Grade 5 · Technology · Study Guide

Learn how HTML tags and structure create the web pages you visit every day.

HTML stands for HyperText Markup Language. It is the standard language used to create and structure content on the web. Every web page you visit — whether it's a news site, a game, or a school project — is built using HTML.

HTML uses special codes called tags to tell the browser how to display content. Tags are written inside angle brackets, like <p> for a paragraph or <h1> for a heading. Most tags come in pairs: an opening tag like <b> and a closing tag like </b>. The content goes between them.

A basic HTML page has a specific structure. It starts with <!DOCTYPE html> to tell the browser what kind of document it is. Then comes the <html> tag, which wraps everything. Inside that are two main sections: <head> (which holds information about the page, like its title) and <body> (which holds everything visible on the page).

Images are added with the <img> tag, and links are created with the <a> tag. The href attribute inside the <a> tag tells the browser where the link should go. Attributes are extra pieces of information added inside a tag.

HTML is not a programming language — it does not do calculations or make decisions. It simply describes the structure and content of a page. CSS adds style (colors, fonts) and JavaScript adds interactivity, but HTML is always the foundation.

Key terms

HTML
HyperText Markup Language; the code used to structure content on web pages.
Tag
An HTML code written in angle brackets (e.g., <p>) that tells the browser how to display content.
Attribute
Extra information added inside an HTML tag that gives more details, like href in an <a> tag.
Element
An HTML building block made up of an opening tag, content, and a closing tag.
<body>
The HTML section that holds all visible content shown on a web page.
<head>
The HTML section that holds page information like the title, which is not directly shown on the page.

Flashcards

<!DOCTYPE html>
A declaration at the top of an HTML file that tells the browser the document type.
<h1>
An HTML tag that creates the largest, most important heading on a page.
<p>
An HTML tag used to create a paragraph of text.
<img>
An HTML tag used to embed an image on a web page.
href
An attribute used in the <a> tag to specify the URL a link goes to.
Closing tag
An HTML tag that ends an element, written with a forward slash like </p>.
Browser
Software like Chrome or Firefox that reads HTML and displays web pages.
CSS
A language used alongside HTML to control the colors, fonts, and layout of a web page.

Questions

  1. What does HTML stand for?

    1. HyperText Markup Language
    2. High Transfer Modular Link
    3. Home Tool Making Language
    4. HyperText Making Links
    Show answer

    Answer: HyperText Markup Language

    HTML stands for HyperText Markup Language, the standard language for building web pages.

  2. HTML is a programming language that can do calculations.

    Show answer

    Answer: False

    HTML is a markup language, not a programming language. It structures content but cannot perform calculations.

  3. The part of an HTML page that holds all visible content is the ________ section.

    Show answer

    Answer: body

    The <body> section contains all visible content like text, images, and links.

  4. Which tag is used to create a clickable link on a web page?

    1. <link>
    2. <a>
    3. <href>
    4. <url>
    Show answer

    Answer: <a>

    The <a> tag creates hyperlinks. The href attribute inside it specifies the destination URL.

  5. Most HTML tags come in pairs with an opening tag and a closing tag.

    Show answer

    Answer: True

    Most HTML elements use a pair: an opening tag like <p> and a closing tag like </p> with content in between.

Get a personalized course on HTML and Web Pages Basics built around your child.