A package manager helps developers install and manage them.
For JavaScript development, one of the most common package managers is: npm
For example:
This can install Express into a project.
We'll learn npm properly when we reach Node.js.
6️⃣ Git
Git is a version control system.
It tracks changes to your code.
Imagine you modify your application today and accidentally break something tomorrow.
With Git, you can keep a history of changes and potentially return to an earlier version.
A simplified workflow:
Write code → Save changes → Git commit → Continue working → More changes → Another commit
Git becomes essential when working professionally.
7️⃣ GitHub
GitHub is a platform for hosting Git repositories and collaborating on software projects.
You can use it to:
• Store your code
• Share projects
• Collaborate with developers
• Review changes
• Create pull requests
• Track issues
• Build a public developer portfolio
A typical workflow is: Your Computer → Git → GitHub → Remote Repository
We'll learn Git and GitHub in detail later.
8️⃣ API Testing Tools
When working with backend APIs, developers often need to send requests without using a frontend.
Tools such as Postman can help with this.
For example, you might send:
This is useful when developing and debugging APIs.
We'll introduce API testing once we reach backend development.
9️⃣ Database Tools
When we start working with databases, we'll also use database clients and tools to:
• Create databases
• Create tables
• Run SQL queries
• Inspect data
• Debug database problems
For PostgreSQL, tools such as pgAdmin can provide a graphical interface.
We'll learn database tools when we reach the database section.
🔟 How These Tools Work Together
A typical beginner web development workflow might look like:
VS Code → Write Code → Web Browser → Developer Tools → Debug & Test → Git → GitHub
Later, when we become full-stack developers:
VS Code → Frontend + Backend → Browser → Developer Tools → API Testing → Database → Git → GitHub → Deployment
🧠 The Most Important Tools to Remember
At this stage, focus on these:
• VS Code → Write code
• Browser → Run and view websites
• Developer Tools → Inspect and debug websites
• Terminal → Run commands and development tools
• Git → Track code changes
• GitHub → Store and collaborate on code
• npm → Manage JavaScript packages
Double Tap ❤️ For Part 11
For JavaScript development, one of the most common package managers is: npm
For example:
npm install expressThis can install Express into a project.
We'll learn npm properly when we reach Node.js.
6️⃣ Git
Git is a version control system.
It tracks changes to your code.
Imagine you modify your application today and accidentally break something tomorrow.
With Git, you can keep a history of changes and potentially return to an earlier version.
A simplified workflow:
Write code → Save changes → Git commit → Continue working → More changes → Another commit
Git becomes essential when working professionally.
7️⃣ GitHub
GitHub is a platform for hosting Git repositories and collaborating on software projects.
You can use it to:
• Store your code
• Share projects
• Collaborate with developers
• Review changes
• Create pull requests
• Track issues
• Build a public developer portfolio
A typical workflow is: Your Computer → Git → GitHub → Remote Repository
We'll learn Git and GitHub in detail later.
8️⃣ API Testing Tools
When working with backend APIs, developers often need to send requests without using a frontend.
Tools such as Postman can help with this.
For example, you might send:
GET /users and inspect the server's response.This is useful when developing and debugging APIs.
We'll introduce API testing once we reach backend development.
9️⃣ Database Tools
When we start working with databases, we'll also use database clients and tools to:
• Create databases
• Create tables
• Run SQL queries
• Inspect data
• Debug database problems
For PostgreSQL, tools such as pgAdmin can provide a graphical interface.
We'll learn database tools when we reach the database section.
🔟 How These Tools Work Together
A typical beginner web development workflow might look like:
VS Code → Write Code → Web Browser → Developer Tools → Debug & Test → Git → GitHub
Later, when we become full-stack developers:
VS Code → Frontend + Backend → Browser → Developer Tools → API Testing → Database → Git → GitHub → Deployment
🧠 The Most Important Tools to Remember
At this stage, focus on these:
• VS Code → Write code
• Browser → Run and view websites
• Developer Tools → Inspect and debug websites
• Terminal → Run commands and development tools
• Git → Track code changes
• GitHub → Store and collaborate on code
• npm → Manage JavaScript packages
Double Tap ❤️ For Part 11
❤14
🚀 𝐁𝐞𝐜𝐨𝐦𝐞 𝐚𝐧 𝐀𝐈 𝐄𝐧𝐠𝐢𝐧𝐞𝐞𝐫 𝐢𝐧 𝟐𝟎𝟐𝟔
🎯 Choose Your Learning Track:
💻 Java Full Stack + AI Engineering
🌐 MERN Full Stack + AI Engineering
Placement Highlights: ₹41 LPA highest package | ₹7.4 LPA average package | 2,000+ students placed | 500+ hiring partners
🔗 𝗕𝗼𝗼𝗸 𝗙𝗥𝗘𝗘 𝗗𝗲𝗺𝗼 𝗖𝗹𝗮𝘀𝘀 :- https://pdlink.in/4fWJVID
⚡ AI is creating new career opportunities—start building the skills companies need in 2026!
🎯 Choose Your Learning Track:
💻 Java Full Stack + AI Engineering
🌐 MERN Full Stack + AI Engineering
Placement Highlights: ₹41 LPA highest package | ₹7.4 LPA average package | 2,000+ students placed | 500+ hiring partners
🔗 𝗕𝗼𝗼𝗸 𝗙𝗥𝗘𝗘 𝗗𝗲𝗺𝗼 𝗖𝗹𝗮𝘀𝘀 :- https://pdlink.in/4fWJVID
⚡ AI is creating new career opportunities—start building the skills companies need in 2026!
❤2
What is GitHub primarily used for?
Anonymous Quiz
4%
A. Running JavaScript in a browser
92%
B. Hosting Git repositories and collaborating on code
2%
C. Styling webpages
2%
D. Creating DNS records
🚀 𝗚𝗼𝗼𝗴𝗹𝗲 𝗣𝗿𝗼𝗳𝗲𝘀𝘀𝗶𝗼𝗻𝗮𝗹 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗲𝘀 𝗶𝗻 𝗗𝗮𝘁𝗮 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜! 📊
Explore these 4 Google learning programs and develop practical, career-relevant skills.
🎓 Explore the programs:
1️⃣ Google Data Analytics Professional Certificate
2️⃣ Google Business Intelligence Professional Certificate
3️⃣ Google AI Essentials
4️⃣ Google Advanced Data Analytics Professional Certificate
🔗 𝗘𝗻𝗿𝗼𝗹𝗹 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘 👇:-
https://pdlink.in/4htgIEW
📌 Save this post and share it with someone interested in Data Analytics or AI!
Explore these 4 Google learning programs and develop practical, career-relevant skills.
🎓 Explore the programs:
1️⃣ Google Data Analytics Professional Certificate
2️⃣ Google Business Intelligence Professional Certificate
3️⃣ Google AI Essentials
4️⃣ Google Advanced Data Analytics Professional Certificate
🔗 𝗘𝗻𝗿𝗼𝗹𝗹 𝗳𝗼𝗿 𝗙𝗥𝗘𝗘 👇:-
https://pdlink.in/4htgIEW
📌 Save this post and share it with someone interested in Data Analytics or AI!
Which tool can be used to test APIs without building a frontend first?
Anonymous Quiz
60%
A. Postman
4%
B. Photoshop
16%
C. Chrome Extensions
20%
D. GitHub
❤1
𝗟𝗲𝘃𝗲𝗹 𝗨𝗽 𝗬𝗼𝘂𝗿 𝗦𝗸𝗶𝗹𝗹𝘀 𝘄𝗶𝘁𝗵 𝗧𝗵𝗲𝘀𝗲 𝗚𝗮𝗺𝗲-𝗖𝗵𝗮𝗻𝗴𝗶𝗻𝗴 𝗖𝗼𝘂𝗿𝘀𝗲𝘀!
Looking to learn practical, in-demand skills? These courses cover Generative AI, Cybersecurity, AI tools and Digital Marketing.
💫 Learn at your own pace
⚡Build career-relevant skills
🔥Practical learning opportunities
𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝘁𝗵𝗲 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 :-
https://pdlink.in/4z3vOYU
Save this post and share with your friends
Looking to learn practical, in-demand skills? These courses cover Generative AI, Cybersecurity, AI tools and Digital Marketing.
💫 Learn at your own pace
⚡Build career-relevant skills
🔥Practical learning opportunities
𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝘁𝗵𝗲 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 :-
https://pdlink.in/4z3vOYU
Save this post and share with your friends
❤1
🌐 Web Development Roadmap — Part 11
📁 Files, Folders & Project Structure
Before we start writing HTML
, CSS, and JavaScript, you need to understand how a web development project is organized.
A website isn't usually one giant file. A real project contains multiple files and folders, each with a specific purpose.
1️⃣ What Is a File?
A file is a container that stores information.
In web development, you'll commonly work with files such as:
.html
.css
.js
.json
.ts
.jsx
.tsx
For example:
index.html
style.css
script.js
Each file can have a different responsibility.
2️⃣ What Is a Folder?
A folder is used to organize files and other folders.
For example:
Here:
is the main project folder.
Inside it are files and additional folders.
3️⃣ Why Do We Need Project Structure?
Imagine putting every file for a large application into one folder without organization.
You might eventually have:
100+ files
Finding the correct file would become difficult.
A good structure makes it easier to:
Find files
Understand the project
Maintain code
Work with other developers
Scale the application
4️⃣ The Basic Website Structure
For a beginner website, you can start with:
Each file has a different job.
index.html
Contains the webpage structure.
style.css
Controls the appearance.
script.js
Adds behaviour.
The browser can connect these files together.
5️⃣ The index.html File
You'll see index.html very often.
It is commonly used as the main or default HTML page of a website.
For example:
When someone visits the main page of a simple website, the server may serve the index.html document.
It's a convention rather than a universal rule for every web application.
6️⃣ Organizing Images
Instead of putting every image directly in the project root, we can create an images folder.
Then HTML can reference an image inside that folder.
The path:
tells the browser where the image is located relative to the HTML file.
7️⃣ Multiple Pages
A website can contain multiple HTML pages.
For example:
You could have:
index.html → Home
about.html → About
contact.html → Contact
This is a simple way to understand how multi-page websites are structured.
8️⃣ Relative Paths
Understanding file paths is extremely important.
Suppose you have:
From index.html, you can reference the image using:
Now suppose you have:
From about.html, you need to go up one folder first:
📁 Files, Folders & Project Structure
Before we start writing HTML
, CSS, and JavaScript, you need to understand how a web development project is organized.
A website isn't usually one giant file. A real project contains multiple files and folders, each with a specific purpose.
1️⃣ What Is a File?
A file is a container that stores information.
In web development, you'll commonly work with files such as:
.html
.css
.js
.json
.ts
.jsx
.tsx
For example:
index.html
style.css
script.js
Each file can have a different responsibility.
2️⃣ What Is a Folder?
A folder is used to organize files and other folders.
For example:
my-website/
│
├── index.html
├── style.css
├── script.js
│
├── images/
│ ├── logo.png
│ └── profile.jpg
│
└── pages/
├── about.html
└── contact.html
Here:
my-website/is the main project folder.
Inside it are files and additional folders.
3️⃣ Why Do We Need Project Structure?
Imagine putting every file for a large application into one folder without organization.
You might eventually have:
100+ files
Finding the correct file would become difficult.
A good structure makes it easier to:
Find files
Understand the project
Maintain code
Work with other developers
Scale the application
4️⃣ The Basic Website Structure
For a beginner website, you can start with:
my-website/
│
├── index.html
├── style.css
└── script.js
Each file has a different job.
index.html
Contains the webpage structure.
<h1>My Website</h1>
<p>Welcome to my website.</p>
style.css
Controls the appearance.
h1 {
color: blue;
}script.js
Adds behaviour.
console.log("Website loaded");The browser can connect these files together.
5️⃣ The index.html File
You'll see index.html very often.
It is commonly used as the main or default HTML page of a website.
For example:
my-website/
│
└── index.html
When someone visits the main page of a simple website, the server may serve the index.html document.
It's a convention rather than a universal rule for every web application.
6️⃣ Organizing Images
Instead of putting every image directly in the project root, we can create an images folder.
my-website/
│
├── index.html
├── style.css
├── script.js
│
└── images/
├── logo.png
├── laptop.jpg
└── phone.jpg
Then HTML can reference an image inside that folder.
<img src="images/logo.png" alt="Logo">
The path:
images/logo.pngtells the browser where the image is located relative to the HTML file.
7️⃣ Multiple Pages
A website can contain multiple HTML pages.
For example:
my-website/
│
├── index.html
├── about.html
├── contact.html
│
├── css/
│ └── style.css
│
└── images/
└── logo.png
You could have:
index.html → Home
about.html → About
contact.html → Contact
This is a simple way to understand how multi-page websites are structured.
8️⃣ Relative Paths
Understanding file paths is extremely important.
Suppose you have:
project/
│
├── index.html
│
└── images/
└── logo.png
From index.html, you can reference the image using:
<img src="images/logo.png">
Now suppose you have:
project/
│
├── pages/
│ └── about.html
│
└── images/
└── logo.png
From about.html, you need to go up one folder first:
<img src="../images/logo.png">
❤5
Here:
means:
This concept becomes very important as projects become larger.
9️⃣ Common Project Folders
As applications become more complex, you'll encounter folders such as:
src/
components/
pages/
assets/
images/
styles/
utils/
services/
Their exact purpose depends on the project and framework.
For example:
We'll learn these structures when we start working with React and larger applications.
🔟 A Real-World Project
A simple website might look like:
A larger modern application might eventually look more like:
Don't worry about understanding all of these folders yet.
We'll introduce them when we actually need them.
🧠 Key Things to Remember
File → Stores information or code.
Folder → Organizes files.
index.html → Common default/main HTML document.
images/ → Can organize image files.
css/ → Can organize CSS files.
js/ → Can organize JavaScript files.
../ → Moves up one directory in a relative path.
Double Tap ❤️ For Part 12
../means:
Go up one directory.
This concept becomes very important as projects become larger.
9️⃣ Common Project Folders
As applications become more complex, you'll encounter folders such as:
src/
components/
pages/
assets/
images/
styles/
utils/
services/
Their exact purpose depends on the project and framework.
For example:
src/
├── components/
├── pages/
├── services/
├── assets/
└── styles/
We'll learn these structures when we start working with React and larger applications.
🔟 A Real-World Project
A simple website might look like:
portfolio/
│
├── index.html
├── about.html
├── contact.html
│
├── css/
│ └── style.css
│
├── js/
│ └── script.js
│
└── images/
├── profile.jpg
└── project1.png
A larger modern application might eventually look more like:
my-app/
│
├── src/
│ ├── components/
│ ├── pages/
│ ├── services/
│ ├── assets/
│ └── styles/
│
├── public/
├── package.json
├── README.md
└── .gitignore
Don't worry about understanding all of these folders yet.
We'll introduce them when we actually need them.
🧠 Key Things to Remember
File → Stores information or code.
Folder → Organizes files.
index.html → Common default/main HTML document.
images/ → Can organize image files.
css/ → Can organize CSS files.
js/ → Can organize JavaScript files.
../ → Moves up one directory in a relative path.
A good project structure keeps code organized and makes applications easier to understand and maintain.
Double Tap ❤️ For Part 12
❤6
10 Tools for Web Developers 🛠🚀 -
💻 Visual Studio Code - Lightweight code editor
🔍 Postman - API development and testing
🎨 CodePen - Front-end development playground
🐙 GitHub - Version control and collaboration
🎨 Figma - UI/UX design and prototyping
📊 Google Analytics - Website traffic analysis
🌐 Netlify - Easy web hosting and deployment
🔒 Auth0 - Authentication and authorization
📦 Webpack - Module bundler for modern JavaScript apps
📦 NPM - Node package manager for JavaScript libraries and tools
React ❤️ for more
💻 Visual Studio Code - Lightweight code editor
🔍 Postman - API development and testing
🎨 CodePen - Front-end development playground
🐙 GitHub - Version control and collaboration
🎨 Figma - UI/UX design and prototyping
📊 Google Analytics - Website traffic analysis
🌐 Netlify - Easy web hosting and deployment
🔒 Auth0 - Authentication and authorization
📦 Webpack - Module bundler for modern JavaScript apps
📦 NPM - Node package manager for JavaScript libraries and tools
React ❤️ for more
❤12
🎓 𝗛𝗔𝗥𝗩𝗔𝗥𝗗 𝗨𝗡𝗜𝗩𝗘𝗥𝗦𝗜𝗧𝗬 𝗙𝗥𝗘𝗘 𝗢𝗡𝗟𝗜𝗡𝗘 𝗖𝗢𝗨𝗥𝗦𝗘𝗦 😍
Dreaming of learning from one of the world’s most prestigious universities? Explore Harvard’s online courses and build valuable, career-ready skills from home!
💡 Beginner-friendly options
⏰ Learn at your own pace
🌍 Accessible online worldwide
🎯 Ideal for students, freshers and working professionals
🔗 𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝗙𝗥𝗘𝗘 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 👇
https://pdlink.in/4xPUdzU
📢 Share this valuable opportunity with your friends and classmates!
Dreaming of learning from one of the world’s most prestigious universities? Explore Harvard’s online courses and build valuable, career-ready skills from home!
💡 Beginner-friendly options
⏰ Learn at your own pace
🌍 Accessible online worldwide
🎯 Ideal for students, freshers and working professionals
🔗 𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝗙𝗥𝗘𝗘 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 👇
https://pdlink.in/4xPUdzU
📢 Share this valuable opportunity with your friends and classmates!
❤4
What is a folder primarily used for?
Anonymous Quiz
6%
A. Running JavaScript
86%
B. Organizing files and other folders
4%
C. Styling webpages
4%
D. Hosting websites
Which file is commonly used as the main HTML page of a simple website?
Anonymous Quiz
4%
A. main.css
2%
B. script.js
92%
C. index.html
1%
D. app.json
❤1
Which file is primarily responsible for webpage structure?
Anonymous Quiz
13%
A. .css
77%
B. .html
5%
C. .js
5%
D. .json
Which file is primarily used for styling a webpage?
Anonymous Quiz
90%
A. style.css
7%
B. index.html
2%
C. script.js
1%
D. server.js
What does ../ generally mean in a relative file path?
Anonymous Quiz
20%
A. Open the current file
53%
B. Go up one directory
20%
C. Open the root website
7%
D. Go to the database
❤1
What does a relative path describe?
Anonymous Quiz
89%
A. A way to locate a file relative to the current location
9%
B. A database connection
2%
C. A web server
0%
D. A Git branch
❤1
What is the main purpose of organizing files into folders?
Anonymous Quiz
92%
A. To make the code easier to find, understand, and maintain
2%
B. To increase Internet speed
5%
C. To automatically deploy the website
1%
D. To replace HTML
𝗙𝗥𝗘𝗘 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀 𝗧𝗼 𝗟𝗲𝗮𝗿𝗻 𝗔𝗜 𝗶𝗻 𝟮𝟬𝟮𝟲🚀
Explore 6 free resources covering AI fundamentals, tools, deep learning, research and real-world applications.
✅ 100% Free Learning
✅ Beginner-Friendly
✅ AI • ML • Deep Learning
✅ Real-World Applications
🔗 𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝗙𝗥𝗘𝗘 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 👇
https://pdlink.in/4AFHq5R
📢 Share this valuable opportunity with your friends and classmates!
Explore 6 free resources covering AI fundamentals, tools, deep learning, research and real-world applications.
✅ 100% Free Learning
✅ Beginner-Friendly
✅ AI • ML • Deep Learning
✅ Real-World Applications
🔗 𝗘𝘅𝗽𝗹𝗼𝗿𝗲 𝗙𝗥𝗘𝗘 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 👇
https://pdlink.in/4AFHq5R
📢 Share this valuable opportunity with your friends and classmates!
🌐 Web Development Roadmap — Part 12
🏗️ HTML — What Is HTML and Why Do We Need It?
HTML is the first major technology we'll learn for building websites.
1️⃣ What Is HTML?
HTML stands for:
HyperText Markup Language
HTML is the standard markup language used to structure content on webpages.
In simple words:
For example, a webpage might contain:
• A heading
• Paragraphs
• Images
• Links
• Buttons
• Lists
• Forms
• Tables
HTML provides the structure for these elements.
2️⃣ HTML Is Not a Programming Language
This is an important distinction.
HTML is a markup language, not a programming language.
HTML describes the structure and meaning of content.
For example:
There is no programming logic here.
We're simply telling the browser:
and:
JavaScript, on the other hand, can perform programming logic:
So remember:
• HTML → Structure
• CSS → Appearance
• JavaScript → Behaviour and logic
3️⃣ How HTML Works
HTML uses elements to describe content.
For example:
The browser interprets this as a heading.
Another example:
The browser interprets this as a paragraph.
The browser then turns the HTML structure into the webpage you see.
4️⃣ HTML Elements
An HTML element commonly consists of:
For example:
Here:
•
• Hello → Content
•
Together, they form an HTML element.
Another example:
The entire thing is an HTML element.
5️⃣ HTML Tags
A tag is the markup used to define an element.
Examples:
•
•
•
•
•
Different tags represent different types of content.
For example:
h1 represents a heading.
p represents a paragraph.
button represents a button.
6️⃣ A Simple HTML Page
A basic HTML document looks like this:
Don't worry if you don't understand everything yet.
We'll learn each part separately.
For now, understand the overall structure.
7️⃣
The
Most of your HTML page exists inside it.
Think of it as the outer container of the document.
8️⃣
The
For example:
🏗️ HTML — What Is HTML and Why Do We Need It?
HTML is the first major technology we'll learn for building websites.
1️⃣ What Is HTML?
HTML stands for:
HyperText Markup Language
HTML is the standard markup language used to structure content on webpages.
In simple words:
HTML tells the browser what content exists on a webpage and what each piece of content represents.
For example, a webpage might contain:
• A heading
• Paragraphs
• Images
• Links
• Buttons
• Lists
• Forms
• Tables
HTML provides the structure for these elements.
2️⃣ HTML Is Not a Programming Language
This is an important distinction.
HTML is a markup language, not a programming language.
HTML describes the structure and meaning of content.
For example:
<h1>My Portfolio</h1>
<p>Welcome to my website.</p>
There is no programming logic here.
We're simply telling the browser:
"This is a main heading."
and:
"This is a paragraph."
JavaScript, on the other hand, can perform programming logic:
let age = 25;
if (age >= 18) {
console.log("Adult");
}
So remember:
• HTML → Structure
• CSS → Appearance
• JavaScript → Behaviour and logic
3️⃣ How HTML Works
HTML uses elements to describe content.
For example:
<h1>Hello World</h1>
The browser interprets this as a heading.
Another example:
<p>Welcome to my website.</p>
The browser interprets this as a paragraph.
The browser then turns the HTML structure into the webpage you see.
4️⃣ HTML Elements
An HTML element commonly consists of:
<tag>Content</tag>
For example:
<p>Hello</p>
Here:
•
<p> → Opening tag• Hello → Content
•
</p> → Closing tagTogether, they form an HTML element.
Another example:
<h1>Web Development</h1>
The entire thing is an HTML element.
5️⃣ HTML Tags
A tag is the markup used to define an element.
Examples:
•
<h1>•
<p>•
<a>•
<img>•
<button>Different tags represent different types of content.
For example:
<h1>My Website</h1>h1 represents a heading.
<p>Hello everyone.</p>p represents a paragraph.
<button>Login</button>button represents a button.
6️⃣ A Simple HTML Page
A basic HTML document looks like this:
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>This is my first webpage.</p>
</body>
</html>
Don't worry if you don't understand everything yet.
We'll learn each part separately.
For now, understand the overall structure.
7️⃣
<html>The
<html> element represents the root of the HTML document.Most of your HTML page exists inside it.
<html>
...
</html>
Think of it as the outer container of the document.
8️⃣
<head>The
<head> contains information about the webpage that generally isn't displayed as the main page content.For example:
<head>
<title>My Website</title>
</head>
❤1
It can contain things such as:
• Page title
• Metadata
• Links to CSS
• Other information used by the browser
We'll explore the
9️⃣
The
For example:
The user can see this content in the browser.
A simple way to remember:
🔟
You'll usually see this at the beginning of an HTML document:
It tells the browser that the document uses modern HTML standards.
It's a doctype declaration, not an ordinary HTML element.
🌐 Real-World Example
Imagine you're building a portfolio.
You might start with:
HTML provides the structure:
Later, CSS will make this structure visually appealing.
JavaScript can then add interactive behaviour.
🧩 HTML + CSS + JavaScript
Think about a car:
HTML → The structure
Provides the basic parts:
• Body
• Seats
• Wheels
• Dashboard
CSS → The appearance
Controls:
• Colors
• Size
• Design
• Layout
JavaScript → Behaviour
Controls things such as:
• Interactive controls
• Dynamic behaviour
• Responses to user actions
Together, they form the foundation of frontend web development.
🧠 Key Points to Remember
• HTML = HyperText Markup Language
• HTML structures webpage content.
• HTML is a markup language, not a programming language.
• HTML uses elements and tags.
•
•
•
• HTML provides structure, CSS provides styling, and JavaScript provides behaviour.
Double Tap ❤️ For More
• Page title
• Metadata
• Links to CSS
• Other information used by the browser
We'll explore the
<head> in detail later.9️⃣
<body>The
<body> contains the main content displayed on the webpage.For example:
<body>
<h1>Welcome</h1>
<p>This is my website.</p>
</body>
The user can see this content in the browser.
A simple way to remember:
<html>
│
├── <head>
│ → Information about the page
│
└── <body>
→ Visible page content
🔟
<!DOCTYPE html>You'll usually see this at the beginning of an HTML document:
<!DOCTYPE html>
It tells the browser that the document uses modern HTML standards.
It's a doctype declaration, not an ordinary HTML element.
🌐 Real-World Example
Imagine you're building a portfolio.
You might start with:
<h1>Deepak's Portfolio</h1>
<p>
Welcome to my portfolio website.
</p>
<h2>My Projects</h2>
<p>
Here are some of the projects I have built.
</p>
HTML provides the structure:
Portfolio
↓
Introduction
↓
Projects
↓
Project information
Later, CSS will make this structure visually appealing.
JavaScript can then add interactive behaviour.
🧩 HTML + CSS + JavaScript
Think about a car:
HTML → The structure
Provides the basic parts:
• Body
• Seats
• Wheels
• Dashboard
CSS → The appearance
Controls:
• Colors
• Size
• Design
• Layout
JavaScript → Behaviour
Controls things such as:
• Interactive controls
• Dynamic behaviour
• Responses to user actions
Together, they form the foundation of frontend web development.
🧠 Key Points to Remember
• HTML = HyperText Markup Language
• HTML structures webpage content.
• HTML is a markup language, not a programming language.
• HTML uses elements and tags.
•
<head> contains information about the document.•
<body> contains the main visible webpage content.•
<!DOCTYPE html> declares the document type.• HTML provides structure, CSS provides styling, and JavaScript provides behaviour.
Double Tap ❤️ For More
❤4