HTML,CSS,NODEJS notes
HTML,CSS,NODEJS notes
🔹 What is HTML?
HTML stands for HyperText Markup Language. It is the standard language used to create and structure
content on the web. It uses tags to define elements like text, images, links, etc.
🔧 HTML Basics:
Topic Description
<img src="" alt=""> Embeds an image. src for URL/path, alt for
accessibility.
📝 Lists in HTML:
Tag Description
🗃️ Tables in HTML:
Tag Description
📬 Forms in HTML:
Tag Purpose
🧩 Types of CSS:
Type Description
🎯 Selectors in CSS:
Selector Example Purpose
🧱 Box Model:
• Every HTML element is treated as a box.
• Consists of:
🧭 Responsive Design:
Tool Description
🧱 Basic Structure:
JavaScript code can be written:
2. 📊 Data Types
Type Example
String "Hello"
Null null
3. 🔁 Operators
• Arithmetic: +, -, *, /, %
• Assignment: =, +=, -=
4. 🔄 Control Flow
✅ If / Else
if (age > 18) {
console.log("Adult");
} else {
console.log("Minor");
🔁 Loops
• For Loop
for (let i = 0; i < 5; i++) {
console.log(i);
• While Loop
let i = 0;
while (i < 5) {
console.log(i);
i++;
console.log(fruit);
5. 🧠 Functions
function greet(name) {
greet("Alice");
• Arrow Functions
};
6. 📦 Arrays
let colors = ["red", "green", "blue"];
colors.push("yellow"); // Add item
7. 🧰 Objects
let person = {
name: "John",
age: 30,
greet: function () {
};
person.greet();
8. 📄 DOM Manipulation
• Get element:
document.getElementById("myId");
document.querySelector(".myClass");
• Change content:
• Change style:
document.getElementById("demo").style.color = "red";
• Add event:
document.getElementById("btn").addEventListener("click", function () {
alert("Button clicked!");
});
9. ⏱️ Timing Functions
Function Description
setTimeout(() => {
}, 2000);
console.log(obj.name);
📘
📘 This PDF was developed by Padma Tutorials
✨ Curated & Mentored by Laxmi Nivas Morishetty
“Empowering students with futuristic tech skills & client-ready development knowledge.”
Laxmi Nivas Morishetty is a passionate full-stack mentor, AI tools expert, and founder of Padma
Tutorials — dedicated to making web development simple, practical, and client-focused for every learner.