0% found this document useful (0 votes)
3 views5 pages

HTML Css Notes

The document provides an introduction to HTML and CSS, explaining that HTML is used to structure web pages with elements like headings and paragraphs, while CSS is used to style these elements. It outlines the components of HTML elements and common CSS properties, as well as how CSS can be applied in different ways. An example of HTML and CSS usage is also included.

Uploaded by

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

HTML Css Notes

The document provides an introduction to HTML and CSS, explaining that HTML is used to structure web pages with elements like headings and paragraphs, while CSS is used to style these elements. It outlines the components of HTML elements and common CSS properties, as well as how CSS can be applied in different ways. An example of HTML and CSS usage is also included.

Uploaded by

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

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

You might also like