Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • JS Tutorial
  • JS Exercise
  • JS Interview Questions
  • JS Array
  • JS String
  • JS Object
  • JS Operator
  • JS Date
  • JS Error
  • JS Projects
  • JS Set
  • JS Map
  • JS RegExp
  • JS Math
  • JS Number
  • JS Boolean
  • JS Examples
  • JS Free JS Course
  • JS A to Z Guide
  • JS Formatter
Open In App
Next Article:
Learn Web Development Basics with HTML CSS and JavaScript
Next article icon

Learn Web Development Basics with HTML CSS and JavaScript

Last Updated : 06 May, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Web development refers to the creating, building, and maintaining of websites. It includes aspects such as web design, web publishing, web programming, and database management. It is the creation of an application that works over the internet i.e. websites.

The word Web Development is made up of two words, that is:

  • Web: It refers to websites, web pages, or anything that works over the internet.
  • Development: It refers to building the application from scratch.

Table of Content

  • Web Development can be classified into two ways
  • Frontend Development
  • Popular Frontend Technologies
  • What is HTML?
  • What is CSS?
  • What is JavaScript?

Web Development can be classified into two ways

  • Frontend Development
  • Backend Development

Frontend Development

Front-end Development is the development or creation of a user interface using some markup languages and other tools. It is basically the development of the user side where only user interaction will be counted. It consists of the interface where buttons, texts, alignments, etc are involved and used by the user.

Popular Frontend Technologies

  • HTML: HTML stands for HyperText Markup Language. It is used to design the front end portion of web pages using markup language. It acts as a skeleton for a website since it is used to make the structure of a website.
  • CSS: Cascading Style Sheets fondly referred to as CSS is a simply designed language intended to simplify the process of making web pages presentable. It is used to style our website.
  • JavaScript: JavaScript is a scripting language used to provide a dynamic behavior to our website.

What is HTML?

HTML stands for HyperText Markup Language. It is the standard language used to create and design web pages on the internet. It was introduced by Tim Berners-Lee in 1991 at CERN as a simple markup language. Since then, it has evolved through versions from HTML 2.0 to HTML5 (the latest 2024 version).

HTML is a combination of Hypertext and Markup language. Hypertext defines the link between the web pages and Markup language defines the text document within the tag.

Example: This example shows the basic use of HTML on the web browser.

HTML
<!DOCTYPE html>  <html>   <head>      <title>HTML Tutorial</title>  </head>   <body>      <h2>Welcome To GFG</h2>      <p>Hello World! Hello from GFG </p>  </body>   </html> 

What is CSS?

CSS or Cascading Style Sheets is a stylesheet language used to add styles to the HTML document. It describes how HTML elements should be displayed on the web page.

CSS was first proposed by Håkon Wium Lie in 1994 and later developed by Lie and Bert Bos, who published the CSS1 specification in 1996.

Basic CSS Example

CSS has 3 ways to style your HTML:

  • Inline: Add styles directly to HTML elements (limited use).
  • Internal: Put styles inside the HTML file in a <style> tag.
  • External: Create a separate CSS file (.css) and link it to your HTML.

Example: This example shows the use of external, internal and inline CSS into HTML file.

HTML
<!-- File name: index.html --> <!DOCTYPE html> <html>  <head>     <!-- Importing External CSS -->     <link rel="stylesheet" href="style.css" />     <!-- Using Internal CSS -->     <style>         h2 {             color: green;         }     </style> </head>  <body>     <!-- Using Inline CSS -->     <h2 style="text-align: center;">Welcome To GFG</h2>     <p>Showing all type of CSS use - GeeksforGeeks</p> </body>  </html> 
CSS
/* External CSS */ /* File name: style.css */ p {     text-align: center; } 

Output:

TTTTTTTTTTTTTTT
Output

What is JavaScript ?

JavaScript is a lightweight, cross-platform, single-threaded, and interpreted compiled programming language. It is also known as the scripting language for webpages. It is well-known for the development of web pages, and many non-browser environments also use it.

JavaScript is a weakly typed language (dynamically typed). JavaScript can be used for Client-side developments as well as Server-side developments. JavaScript is both an imperative and declarative type of language. JavaScript contains a standard library of objects, like Array, Date, and Math, and a core set of language elements like operators, control structures, and statements. 

Example: This example shows the alert by the use of alert method provided by JavaScript.

HTML
<!DOCTYPE html> <html lang="en">  <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width,                                    initial-scale=1.0">     <title>Custom Alert Box</title>     <style>         body {             display: flex;             justify-content: center;             width: 100vw;             margin-top: 20px;         }          .alert {             position: absolute;             top: 50%;             left: 50%;             transform: translate(-50%, -50%);             background-color: #f8d7da;             color: #721c24;             padding: 15px 20px;             border: 1px solid #f5c6cb;             border-radius: 5px;         }     </style> </head>  <body>      <button onclick="showAlert()">Show Alert</button>      <script>         function showAlert() {             const alertBox = document.createElement('div');             alertBox.className = 'alert';             alertBox.textContent = 'This is a custom alert box.';             document.body.appendChild(alertBox);         }     </script>  </body>  </html> 

Output:

Untitled-design

There are others frontend frameworks are used to create a website so that the UI can be more better and it could be fast running website.


Next Article
Learn Web Development Basics with HTML CSS and JavaScript

M

meetahaloyx4
Improve
Article Tags :
  • Web Technologies
  • JavaScript
  • Frontend-Development

Similar Reads

    Websites and Software that help HTML, CSS And JavaScript Developers
    Developing a website using HTML, CSS, and JS is a time consuming and lengthy process. But using proper resources for the work can accelerate the process. These tools not only make things easier, but you also step it up on the quality level. Here is a list of websites and software that will help you
    3 min read
    Begin Web Development with a Head Start
    To get a head start in web development, you can take the following steps: Learn the basics: Learn the basics of HTML, CSS, and JavaScript, which are the building blocks of web development. You can use online tutorials and resources, such as Codecademy, W3Schools, and FreeCodeCamp to start learning.
    8 min read
    Manipulating HTML Elements with JavaScript
    JavaScript is a powerful language that can be used to manipulate the HTML elements on a web page. By using JavaScript, we can access the HTML elements and modify their attributes, styles, and content. This allows us to create dynamic and interactive web pages. Methods to Identify the elements to man
    5 min read
    Javascript: A gateway to the world of web development
    JavaScript is a widely-used programming language that is essential for modern web development. While it is most well-known as the scripting language for Web pages It is a high-level, dynamic, and interpreted language that allows developers to add interactivity and dynamic content to web pages. It’s
    6 min read
    How to make Live Coding Editor using HTML CSS and JavaScript ?
    In this article, we will implement a live coding editor using HTML, CSS, and JavaScript. This project will allow you to write and execute HTML, CSS, and JavaScript code in real-time, making it an excellent tool for learning and testing your code snippets.Final OutputPrerequisiteHTMLCSSJavaScriptAppr
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences