Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Class notes CODING

Rating
-
Sold
-
Pages
1
Uploaded on
15-12-2024
Written in
2024/2025

HTML & CSS Notes 1. Introduction to HTML Definition: HTML is the standard markup language for creating web pages. Basic Structure: html Copy code !DOCTYPE html html head titlePage Title/title /head body h1Heading/h1 pThis is a paragraph./p /body /html Common Elements: Headings: h1, h2, h3 (levels 1-6) Paragraphs: p Links: a href="url"Link Text/a Images: img src="" alt="description" Lists: Ordered: olliItem/li/ol Unordered: ulliItem/li/ul Tables: tabletrtdCell/td/tr/table 2. Introduction to CSS Definition: CSS styles the layout and appearance of web pages. Syntax: css Copy code selector { property: value; } Example: css Copy code body { background-color: #f0f0f0; font-family: Arial, sans-serif; } 3. Ways to Apply CSS Inline CSS: Directly within an HTML tag: html Copy code p style="color: blue;"This is a blue paragraph./p Internal CSS: Inside a style tag in the head: html Copy code style h1 { color: red; } /style External CSS: Linked via a .css file: html Copy code link rel="stylesheet" href="" 4. CSS Selectors Basic Selectors: Universal: * Type: h1, p, div Class: .class-name ID: #id-name Combinators: Descendant: div p Child: div p Adjacent Sibling: h1 + p General Sibling: h1 ~ p 5. CSS Box Model Components: Content: The content of the box (text, images). Padding: Space between content and border. Border: Surrounds the padding. Margin: Space between the border and other elements.

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
December 15, 2024
Number of pages
1
Written in
2024/2025
Type
Class notes
Professor(s)
Manthan balla
Contains
All classes

Subjects

$11.79
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
manthanballa08

Get to know the seller

Seller avatar
manthanballa08 SJM NEW SECONDARY ENGLISH HIGH SCHOOL
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions