Page 1: Introduction to HTML
HTML (HyperText Markup Language) is used to create the structure of web pages. It uses tags like
, , , , , etc. HTML elements define content such as headings, paragraphs, links, and images.
Page 2: HTML Elements
HTML elements consist of opening tag, content, and closing tag. Example: This is a paragraph.
Common elements include headings, lists, tables, forms, and links.
Page 3: Introduction to CSS
CSS (Cascading Style Sheets) is used to style HTML elements. It controls colors, fonts, layouts,
spacing, and responsiveness. CSS can be applied inline, internal, or external.
Page 4: CSS Properties
Important CSS properties include color, background, margin, padding, border, font-size, display,
and position. Selectors target HTML elements such as class, id, or tag.
Page 5: HTML + CSS Example
Example: body {background-color: lightblue;} h1 {color: red;} Hello