You are on page 1of 13

SESSION on

BASICS OF HTML AND CSS


A Beginner’s Guide for Web
Development
What is HTML and CSS?
HTML Basic Syntax
1. <!DOCTYPE html>
2. <html>
3. <head>
4. <title>Page Title</title>
5. </head>
6. <body>
7. <h1>My First Heading</h1>
8. <p>My first paragraph.</p>
9. </body>
10. </html>
HTML Elements & Tags
• HEADINGS
• PARAGRAPH
• LINKS
• IMAGES
• BUTTONS
• LISTS
• DIVISION
HTML Attributes

Attributes provide additional
information about an element
CLASS and ID
How to add CSS?

• INLINE
• INTERNAL
• EXTERNAL
CSS Selectors

• Element Selector
• ID Selector
• Class Selector
• Universal Selector
CSS Properties

• FONT
• COLORS
• BACKGROUND
• BORDER
• MARGIN
QUIZ TIME
Q1. Who invented world wide web?
Q2. Which is the latest working
version of html?
THA N K YO U

You might also like