Web Development Workshop Tutorial
Web Development Workshop Tutorial
BCS 353
Web development
It 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.
Frontend Development
The part of a website where the user interacts directly is termed as front
end. It is also referred to as the ‘client side’ of the application.
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.
Bootstrap: Bootstrap is a free and open-source tool collection for
creating responsive websites and web applications. It is the most
popular CSS framework for developing responsive, mobile-first
websites. Nowadays, the websites are perfect for all browsers (IE,
Firefox, and Chrome) and for all sizes of screens (Desktop, Tablets,
Phablets, and Phones).
Backend Development
Backend is the server side of a website. It is part of the website that
users cannot see and interact with. It is the portion of software that does
not come in direct contact with the users. It is used to store and arrange
data.
Databases
In web technology, a database is a structured collection of data that is
stored electronically and accessed via a web application. It serves as
the backend component where data is stored, managed, and retrieved.
Databases can be relational (like MySQL, PostgreSQL) using structured
tables and SQL for queries, or non-relational (like MongoDB, CouchDB)
which store data in flexible, document-oriented formats. They enable
web applications to handle dynamic content, user data, transactions,
and more by providing efficient storage, retrieval, and manipulation
capabilities. Database management systems (DBMS) are used to
interact with the database, ensuring data integrity, security, and
performance.
Relational Database
A relational database stores data in tables, similar to a spreadsheet,
where each table has rows and columns. The rows hold individual
records, and the columns define the data attributes. Tables can be
linked to each other through special keys, allowing related data to be
connected.
MySQL: MySQL is an open-source relational database management
system that uses SQL for managing structured data. It’s known for its
reliability, ease of use, and performance, widely used in web
applications.
HTML Tutorial
What is HTML?
HTML stands for HyperText Markup Language is the
standard markup language used to create and design web
pages on the internet.
It is a combination of Hypertext and Markup language.
The Hypertext defines the link between web pages, and
Markup defines the text document within tags to structure
the web pages.
This language annotates text so that machines can
understand and manipulate it accordingly.
HTML is human-readable and uses tags to define what
manipulation has to be done on the text.
HTML is the language of the web, used by billions of websites to
create the pages you see every day.
We will start with HTML fundamentals, such as basic HTML
tags and their attributes, classes, layout, and responsiveness.
Then, move on to advance HTML5 topics, such as HTML
forms, media, APIs, and more.
It uses HTML tags and attributes to describe the
structure and formatting of a web page.
HTML consists of various elements, that are responsible for
telling search engines how to display page content.
For example, headings, lists, images, links, and more.
HTML Example
<!DOCTYPE html>
<html>
<head>
<title>First HTML Code</title>
</head>
<body>
<h2>Welcome To GFG</h2>
<p>Hello Geeks</p>
</body>
</html>
Features of HTML
It is easy to learn and easy to use.
It is platform-independent.
Images, videos, and audio can be added to a web page.
Hypertext can be added to the text.
It is a simple markup language. Its implementation is easy.
It is used to create a website.
Helps in developing fundamentals about web
programming.
Boost professional career.
HTML History
HTML is a markup language used by the browser to
manipulate text, images, and other content, in order to
display it in the required format.
The first-ever version of HTML was HTML 1.0, but the first
standard version was HTML 2.0, published in 1995. 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). Currently, we are
using HTML5, which is the latest and most recent version
of HTML.
Advantages of HTML
HTML is used to build websites.
It is supported by all browsers.
It can be integrated with other languages
like CSS, JavaScript, etc.
Disadvantages of HTML
HTML can only create static web pages. For dynamic web
pages, other languages have to be used.
A large amount of code has to be written to create a
simple web page.
The security feature is not good.
Example
This example illustrates the basic structure of HTML code.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<!--The above meta characteristics make a website
compatible with different devices. -->
<title>Demo Web Page</title>
</head>
<body>
<h1>GeeksforGeeks</h1>
<p>A computer science portal for geeks</p>
</body>
</html>
Output:
Web Browsers
Unlike other programming languages, HTML does not show
output on the compiler.
Web browsers show the results of an HTML code. It reads
HTML files and determines how to show content with the
help of HTML tags.
Any web browser (Google, Safari, Mozilla Firefox, etc)
can be used to open a HTML file and view the results.
HTML Tags
HTML tags are the building blocks of web pages. By
understanding and using HTML tags effectively, you can create
well-structured and informative webpages.
HTML <p> Tag
HTML <a> Tag
HTML <div> Tag
HTML <span> Tag
HTML <header> Tag
HTML <footer> Tag
HTML <break> Tag
HTML <nav> Tag
HTML <script> Tag
HTML Tags – A to Z List
HTML Tables
HTML tables provide a structured way to organize information into
rows and columns, making it easy for users to understand and
navigate.
HTML <table> Tag
HTML <tr> Tag
HTML <th> Tag
HTML <td> Tag
HTML <caption> Tag
HTML <thead> Tag
HTML <tbody> Tag
HTML <tfoot> Tag
HTML <col> Tag
HTML <colgroup> Tag
HTML Lists
HTML lists organize information clearly on your website. They’re
perfect for step-by-step instructions, lists of ingredients, or ranking
items. This improves readability and helps users to understand
your content.
HTML Lists
o HTML Ordered Lists
o HTML Unordered Lists
o HTML Description Lists
HTML List Elements
o HTML <li> Tag
o HTML <ul> Tag
o HTML <ol> Tag
o HTML <dl> Tag
o HTML <dt> Tag
o HTML <dd> Tag
HTML Formatting
HTML offers tags and attributes to style your website’s text,
images, and more. This improves visual appeal, helps users
navigate your content, and signals important information to users.
some of the common HTML formatting tags.
HTML <i> Tag
HTML <small> Tag
HTML <ins> Tag
HTML <sub> Tag
HTML <strong> Tag
HTML <b> Tag
HTML <mark> Tag
HTML <del> Tag
HTML <em> Tag
HTML <sup> Tag
HTML Form
HTML forms let users interact with your website. Use them to
collect contact details, run surveys, search your site, and more.
Let’s explore more about HTML form:
HTML <form> Tag
HTML <input> Tag
HTML <label> Tag
HTML <button> Tag
HTML <select> Tag
HTML <textarea> Tag
HTML <fieldset> Tag
HTML <legend> Tag
HTML <datalist> Tag
HTML <output> Tag
HTML <option> Tag
HTML <optgroup> Tag