0% found this document useful (0 votes)
4 views2 pages

Grade12 HTML Notes

This document provides an overview of HTML, including its definition, structure, and common tags. It covers HTML elements, attributes, and the main components of an HTML document, such as headings, lists, tables, and forms. Additionally, it includes exercises for practical application of HTML skills.

Uploaded by

Tahpehs Phiri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Grade12 HTML Notes

This document provides an overview of HTML, including its definition, structure, and common tags. It covers HTML elements, attributes, and the main components of an HTML document, such as headings, lists, tables, and forms. Additionally, it includes exercises for practical application of HTML skills.

Uploaded by

Tahpehs Phiri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

HTML Notes for Grade 12

Introduction to HTML
HTML stands for HyperText Markup Language. It is the standard language used to create
and structure web pages.

HTML Tags
Tags are special commands enclosed in angle brackets <> that tell a browser how content
should appear.

HTML Elements
An element consists of an opening tag, content, and a closing tag.

HTML Attributes
Attributes provide extra information about HTML elements and are written inside opening
tags.

Structure of an HTML Document


Main parts include <!DOCTYPE html>, <html>, <head>, <title>, and <body>.

Common Tags
Headings (h1-h6), paragraphs (p), line breaks (br), horizontal rules (hr), lists, tables,
images, links, divs, forms, inputs, textareas, and buttons.

Lists
Ordered lists (ol), unordered lists (ul), and description lists (dl).

Tables
Created using table, tr, th, and td tags.

Forms
Forms collect user information using input controls, textareas, and buttons.

Empty Tags
Tags such as br, hr, img, and input do not require closing tags.

Exercises
No. Exercise
1 Create a webpage with your name as the
main heading and a paragraph describing
yourself.
2 Create an ordered list showing five school
subjects.
3 Create a table showing Student Name,
Class, and Age.
4 Create a form containing a textbox, email
field, password field, and submit button.
5 Design a simple school webpage using
headings, paragraphs, images, links, and
tables.

You might also like