Module 1
Module 1
Course Objectives
Enable the students to understand web-based site planning, management and
maintenance.
Explain the concept of developing advanced HTML, CSS, JavaScript, PHP pages.
This course enables students to develop web sites which are secure and dynamic in
nature.
Design and implement an internet database application using existing tools and
techniques.
Course Outcomes
CO1: Understand the web development strategies and identify the problems.
CO2: Develop the SRS document of the project.
CO3: To develop web page using HTML with formatting, links, tables, list and
frames
CO4: Design a visual representation of web application.
CO5: Implement and establish database connectivity with front end.
Course Contents
Introduction to web and HTML
Introduction to Web Designing , web development strategies – Web Server, Web Client – Browser & Web
Server, identify the problems, Develop the SRS document of the project, HTML Document, Basic
Structure –basic tag, elements, attributes, formatting, comments, marquee, text, image and email, list,
Creating Links between Documents – Creating Tables – Creating Forms – The Input Element – Select
Element – Text Area Element
Introduction to Styles sheets(CSS) and Frameworks
Introduction to DHTML, advantages and disadvantages of DHTML, Object Model – Underlying
Principles of the DHTML, Basic Components of DHTML, XHTML: Syntax and Semantics,
Introduction to Styles sheets and Frameworks Cascading Style Sheets: Levels of Style Sheets – Style ,
Specification Formats, Selector Forms, Property-Value, Forms, Font Properties, List Properties,
Alignment of Text, Color, The Box Model, Background Images, The span and div Tags. Frameworks:
Overview and Basics of Responsive CSS Frameworks
Course Contents
JavaScript
Java script: Introduction, documents, forms, statements, functions, objects; Event and event
handling; Error handling; validation.
Introduction to Data Interchange Formats (XML)
XML: The Syntax of XML, XML Document Structure, Namespaces, XML Schemas, Displaying
Raw XML Documents, Displaying XML Documents with CSS, XSLT Style Sheets, XML
Applications.
JSON(Basics Only): Overview, Syntax, Datatypes, Objects, Schema, Comparison with XML.
XML: DTD, XML schemes, presenting and using XML.
PHP
PHP (Hypertext Preprocessor): Introduction, syntax, variables, strings, operators, if-else, loop,
switch, array, function, form ,mail, file upload, session, error, exception, filter, PHP-ODBC
Text and Reference Books
Text Books:
T1. Ivan Bayross -Web Enabled Commercial Application Development Using HTML, DHTML, Java Script,
Perl, CGI-2000
T2. Uttam/Roy,” WEB Technology”, Oxford Publication.
Reference Books:
R1. Xavier, C, “ Web Technology and Design” , New Age International
R2. Deitel, “Java for programmers”, Pearson Education
R3. Ramesh Bangia, “Internet and Web Design” , New Age International
R4. Jackson, “Web Technologies” Pearson Education
R5. Patel and Barik, ”Introduction to Web Technology & Internet”, Acme Learning
Introduction to Web Designing
Web Design is a field related to designing websites on the Internet. Without a good
design, a website fails to perform well and cannot produce a good impact on the
user. Design is a creative process that affects the ranking of the brand. A good
website design helps to create an engaging online presence that captivates the
audience.
Web Designing is the art of making websites look and feel good to the user and
providing easy access to the website features to the client. It focuses on improving
the user experience rather than development.
Web design is the planning and creation of websites. This includes the information,
user interface, site structure, navigation, layout, colors, fonts and imagery.
All of these are combined with the principal of web designing to create a website
that meets the goals of the owner and designer
Types of Web Design
The following are the types in which you can do Web Design:
1. Static Website: This type of design is used when little or no interaction is required from the user.
2. Dynamic Website: When user interaction is required and information is to be displayed according to
the request then a dynamic design pattern is followed.
3. E-commerce Website: This type of website design is required when a business wants to sell their
products to the consumer.
4. Flat Design: Minimalist approach characterized by clean, simple elements, vibrant colors, and absence
of textures or gradients.
5. Neuromorphic Design: Mimics physical interactions and textures, creating interfaces that blend
realism with digital functionality.
6. Minimalism Design: Focuses on stripping away unnecessary elements, favoring simplicity, clean lines,
and ample white space for an uncluttered user experience.
Types of Websites:
1. Static Website
Static websites are also known as flat or stationary websites. They are loaded on the client’s
browser as exactly they are stored on the web server. Such websites contain only static
information. User can only read the information but can’t do any modification or interact with
the information.
Static websites are created using only HTML. Static websites are only used when the information
is no more required to be modified.
2. Dynamic Website
Dynamic websites shows different information at different point of time. It is possible to change
a portion of a web page without loading the entire web page. It has been made possible
using Ajax technology.
Server-side dynamic web page
It is created by using server-side scripting. There are server-side scripting parameters that
determine how to assemble a new web page which also include setting up of more client-side
processing.
Client-side dynamic web page
It is processed using client side scripting such as javascript. And then passed in to Document
Object Model (DOM).
2. Dynamic Website
Web Design Process
Web Development Technologies
Website Designing
Web designing has direct link to visual aspect of a web site. Effective web design
is necessary to communicate ideas effectively.
Wireframe
Wireframe refers to a visual guide to appearance of web pages. It helps to define
structure of web site, linking between web pages and layout of visual elements.
Following things are included in a wireframe:
• Boxes of primary graphical elements
• Placement of headlines and sub headings
• Simple layout structure
• Calls to action
• Text blocks
Web Page Anatomy
A web site includes the following components:
Containing Block
Container can be in the form of page’s body tag, an all containing div tag.
Without container there would be no place to put the contents of a web page.
Logo
Logo refers to the identity of a website and is used across a company’s various
forms of marketing such as business cards, letterhead, brouchers and so on.
Navigation
The site’s navigation system should be easy to find and use. Oftenly the
anvigation is placed rigth at the top of the page.
Web Page Anatomy
Content
The content on a web site should be relevant to the purpose of the web site.
Footer
Footer is located at the bottom of the page. It usually contains copyright,
contract and legal information as well as few links to the main sections of the
site.
Whitespace
It is also called as negative space and refers to any area of page that is not
covered by type or illustrations.
Web Development Strategies
The web development strategies are listed below:
1. Responsive Web Design
2. Performance Optimization
3. User-Centered Design
4. Security Measures
5. Cross-Browser Compatibility
6. Mobile-First Development
7. Content Management and SEO
1. Responsive Web Design
Responsive web design makes websites that work well on various devices, like
computers, tablets, and phones. It means designing and building websites so
they can change and look good no matter what device you're using.
To make responsive web design work, you should follow some rules, starting
with a mobile-friendly design, using flexible layouts and pictures, and testing
your site on different devices.
Responsive web design is just the first step in your journey to making your
business successful. Keep reading to learn more ways to improve your online
presence.
2. Performance Optimization
The significance of website speed, often underscored by the keyword web
development strategies, cannot be overstated. In today's digital landscape, users
expect websites to load swiftly and efficiently.
A slow-loading site can lead to high bounce rates, negatively impacting user
experience—a critical consideration in web design strategies. Moreover, it can affect
search engine rankings, another reason why developing web strategy should
encompass performance optimization.
Efficient web development strategies encompass a multitude of techniques for
optimizing website performance. Minimizing HTTP requests, optimizing images, and
leveraging browser caching are fundamental practices.
Reducing server response times and employing content delivery networks (CDNs) are
additional elements in a comprehensive web development strategy. Efficient code
practices, such as minification, are essential web development strategy components.
3. User-Centered Design
When it comes to web development strategies, user-centered design takes center stage.
This approach recognizes the paramount importance of catering to the needs and
preferences of your audience.
In the competitive online landscape, it's not just about aesthetics but also about
creating an intuitive and enjoyable user experience.
Web development strategy without a user-centric focus risks alienating users and
missing out on their engagement
To excel in web design strategies, understanding user needs and preferences is pivotal.
This involves conducting user research, surveys, and usability testing.
By employing these methods, web development strategy gains valuable insights into
what resonates with the audience..
4. Security Measures
Security is a big part of making a website that works well, not something
separate.
There are many problems in the digital world, like hackers trying to get in,
steal information, and trick people. To make a good plan for creating websites,
you must consider how to protect your website from these problems.
There are good ways to make your website more secure, and they should be
part of your plan. These include using encryption (HTTPS), checking the
information people put into your website, and controlling who can access your
website.
Keep your software and code up to date, safely write code, and use strong
passwords and logins. These things are all important for a plan that focuses on
security.
5. Cross-Browser Compatibility
After developing a website, ensure that it work the same way on all browsers?
That's where cross-browser compatibility is mandatory.
The challenges are real! Browsers interpret code differently, leading to issues
like wonky layouts, broken features, or complete chaos.
There are techniques in the web development strategy toolbox to tame this
beast.
You can use standardized HTML, CSS, and JavaScript. Keep things simple and
avoid browser-specific code. Test frequently on multiple browsers and devices.
Responsive design is your friend, as it helps your site adapt gracefully to
various screen sizes and browsers.
6. Mobile-First Development
Everyone seems glued to their smartphones these days? It's not just for making calls
and texting anymore; it's for everything! Today, the rise of mobile internet usage is a
game-changer. People are browsing, shopping, and socializing on their mobile devices
more than ever before. So, it's no surprise that mobile-first development has become a
hot topic.
When you embrace mobile-first design principles, start with the smallest screen and
work your way up. This approach encourages simplicity, streamlined content, and a
focus on what matters most for mobile users. It's not just about squeezing a big
website into a small screen; it's about crafting a tailored experience.
Creating mobile-friendly web experiences is about making your site feel like home on
a mobile device. Think responsive layouts, touch-friendly buttons, and content that's
easy to read on smaller screens. The key to this web development strategy is to ensure
that users on smartphones or tablets get the same great experience as those on a
desktop.
7. Content Management and SEO
Imagine your website as a book, and each page is a chapter. What makes people
want to keep reading? It's the content!
In web development strategies, content is the heart and soul of your digital
story. It's what informs, educates, and engages your audience. Without
compelling content, your website is like a library without any books.
Have you ever wondered how people find things on the internet? It's often
through search engines like Google.
That's where SEO (Search Engine Optimization) comes into play in our web
development strategy. SEO is like the road signs that guide people to your
website. It involves using keywords, meta tags, and other techniques to ensure
your site ranks well in search results.
Web Browser
Web Browser is an Application program that displays a World wide web document. It
usually uses the internet service to access the document.
The Web browser requests the server for the web documents and services.
A web browser is a programme that uses websites to search the internet for information.
The web browser acts as an interface between the server and the client and displays a web
document to the client.
Components of web browser architecture- a controller, client program, and interpreters.
The web browser sends an HTTP request and gets an HTTP response.
Doesn’t exist any processing model for the web browser.
Web browser stores the cookies for different websites.
Web Server
A web server is a program or the computer that provide services to other programs called
client.
The Web server accepts, approves, and responds to the request made by the web browser for
a web document or service.
The web server is responsible for connecting websites and web browsers.
The web server is a software or a system which maintain the web applications, generate
response and accept clients data.
Components of web server architecture- hardware, operating system software, and Web
server software.
The web server gets HTTP requests and sends HTTP responses.
There exist three types of processing models for web servers i.e Process-based, Thread based,
and Hybrid.
Web servers provide an area to store and organize the pages of the website.
HTML
Introduction
HTML, or Hyper Text Markup Language, is the standard markup language used to
create web pages.
It’s a combination of Hypertext, which defines the link between web pages, and
Markup language, which is used to define the text document within tags to structure
web pages.
HTML is used to annotate 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.
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 HTML</h2>
<p>Hello, This is First example.</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 markup language.
HTML Elements and Tags
HTML uses predefined tags and elements that instruct the browser on how to
display the content. HTML elements include an opening tag, some content, and
a closing tag. It’s important to remember to include closing tags. If omitted, the
browser applies the effect of the opening tag until the end of the page.
Here is the basic structure of an HTML page, which includes essential building-
block elements like doctype declaration, HTML, head, title, and body elements.
Example: <b> Hello </b>
opening tag closing tag
HTML Page Structure
HTML Page Structure
<!DOCTYPE html> – This is the document type declaration (not technically a
tag). It declares a document as being an HTML document. The doctype
declaration is not case-sensitive.
<html> – This is called the HTML root element. All other elements are
contained within it.
<head> – The head tag contains the “behind the scenes” elements for a
webpage. Elements within the head aren’t visible on the front end of a
webpage. HTML elements used inside the <head> element include:
<style> – This HTML tag allows us to insert styling into our web pages and
make them appealing to look at with the help of CSS.
HTML Page Structure
<title> – The title is what is displayed on the top of your browser when you
visit a website and contains the title of the webpage that you are viewing.
<base> – It specifies the base URL for all relative URL’s in a document.
<noscript> – Defines a section of HTML that is inserted when the scripting has
been turned off in the user’s browser.
<script> – This tag is used to add functionality to the website with the help of
JavaScript.
HTML Page Structure
<meta> – This tag encloses the metadata of the website that must be loaded
every time the website is visited. For eg:- the metadata charset allows you to
use the standard UTF-8 encoding on your website. This in turn allows the
users to view your webpage in the language of their choice. It is a self-closing
tag.
<link> – The ‘link’ tag is used to tie together HTML, CSS, and JavaScript. It is
self-closing.
<body> – The body tag is used to enclose all the visible content of a webpage.
In other words, the body content is what the browser will show on the front
end.
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>HTML </h1>
<p>A computer science portal for MCA</p>
</body>
</html>
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 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. HTML was
created by Tim Berners-Lee in 1991. The first-ever version of HTML was
HTML 1.0, but the first standard version was HTML 2.0, published in 1995.
Currently, we are using HTML5, which is the latest and most recent version of
HTML.
Advantages and Disadvantages of
HTML
Advantages
HTML is used to build websites.
It is supported by all browsers.
It can be integrated with other languages like CSS, JavaScript, etc.
Disadvantages
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.
HTML Editors
An HTML editor is a tool/software that can create, edit, and manage HTML code.
They provide various features to simplify the process of writing HTML code.
One can write HTML code in any text editor and save the file with an extension
“.html” or “.htm” to see the working of that file.
Example:
1. Notepad
2. Online HTML editor
3. Brackets (Opensource)
4. Sublime Text Editor (cross platform editor)
5. Atom (opensource)
6. Visual Studio
Basic HTML Tags for Document
Structure
<html>Encloses the entire HTML document, serving as the root element for all
HTML content.
<head> Contains header information about the webpage, including title,
meta tags, and linked stylesheets. It is part of the document’s structure but is
not displayed on the webpage.
<title> Used within the <head> section to define the title of the HTML
document. It appears in the browser tab or window and provides a brief
description of the webpage’s content.
<body> Encloses the visible content of the webpage, such as text,
images, audio, videos, and links. All elements within this tag are displayed on
the actual webpage when viewed in a browser.
Example to illustrate the Basic HTML
structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>HTML</title>
</head>
<body>
<!--Contents of the webpage-->
<p>HTML Introduction</p>
</body>
</html>
HTML Headings
The HTML heading tags are used to create headings for the content of a webpage.
These tags are typically placed inside the body tag. HTML offers six heading tags,
from <h1> to <h6>, each displaying the heading in a different font size.
Syntax:
<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
Example:
To demonstrate the use of 6 heading tags from <h1> to
<h6> in HTML.
<!DOCTYPE html> <body>
<html lang="en"> <h1>Heading 1 (h1)</h1>
<head> <h2>Heading 2 (h2)</h2>
<meta charset="UTF-8"> <h3>Heading 3 (h3)</h3>
<meta name="viewport" <h4>Heading 4 (h4)</h4>
content="width=device- <h5>Heading 5 (h5)</h5>
width, initial-scale=1.0">
<h6>Heading 6 (h6)</h6>
<title>HTML heading
tag</title> </body>
</head> </html>
Output:
HTML Paragraph and Break Elements
HTML <p> tags are used to write paragraph statements on a webpage. They
start with the <p> tag and end with </p>.
The HTML <br> tag is used to insert a single line break and does not require a
closing tag. In HTML, the break tag is written as <br>.
Syntax:
// for Parapgraph
<p> Content... </p>
// for Break
<br>
Example:
To illustrates the use of <p> tag for writing a
paragraph statement in HTML.
<!DOCTYPE html> <body>
table {
border-spacing: 5px;
}
</style>
</head>
Adding Cells that Span Many Columns
in HTML Tables
To make a cell span more than one column, we must use the colspan attribute.
<!DOCTYPE html> <body>
<html> <h2>Cell that spans two columns:</h2>
<head> <table style="width:100%">
<style>
<tr>
table,
th, <th>Name</th>
td { <th colspan="2">Telephone</th>
border: 1px solid black; </tr>
border-collapse: collapse; <tr>
} <td>Vikas Rawat</td>
th, <td>9125577854</td>
td { <td>8565557785</td>
padding: 5px;
</tr>
text-align: left;
} </table>
</style> </body>
</head> </html>
Adding Cells that span many rows in
HTML Tables
To make a cell span more than one row, we must use the rowspan attribute.
<!DOCTYPE html> <body>
<html> <h2>Cell that spans two rows:</h2>
<head> <table style="width:100%">
<style> <tr>
table, <th>Name:</th>
th, <td>Vikas Rawat</td>
td { </tr>
border: 1px solid black; <tr>
border-collapse: collapse; <th rowspan="2">Telephone:</th>
} <td>9125577854</td>
th, </tr>
td { <tr>
padding: 5px; <td>8565557785</td>
text-align: left; </tr>
} </table>
</style> </body>
</head> </html>
Adding a Caption in an HTML Table
To add a caption to a table, we must use the “caption” tag.
Syntax
<table style="width:100%">
<caption>DETAILS</caption>
Adding a Background Color to the
Table
A color can be added as a background in an HTML table using the “background-
color” option. <head>
<style>
Syntax table,
th,
td {
table#t01 { border: 1px solid black;
border-collapse: collapse;
width: 100%; }
th,
background-color: #f2f2d1; td {
padding: 5px;
} text-align: left;
}
table#t01 {
width: 100%;
background-color: #f2f2d1;
}
</style>
</head>
HTML Lists
An HTML list is a record of related information used to <h5>Data Structures topics</h5>
display the data or any information on web pages in the
ordered or unordered form. <ol>
<li>Array</li>
<!DOCTYPE html>
<html> <li>Linked List</li>
<head> <li>Stacks</li>
<title>HTML Lists</title>
</head>
<li>Queues</li>
<body> <li>Trees</li>
<h2>Welcome To Data Structure Learning</h2> <li>Graphs</li>
<h5>List of available courses</h5>
<ul> </ol>
<li>Data Structures & Algorithm</li> </body>
<li>Web Technology</li>
<li>Aptitude & Logical Reasoning</li>
</html>
<li>Programming Languages</li>
</ul>
Output
Table of Content
There are three types of lists in HTML:
HTML Unordered List or Bulleted List
HTML Ordered List Tag Description
<!DOCTYPE html>
<html>
<body>
<h2>Grocery list</h2>
<ul>
<li>Bread</li>
<li>Eggs</li>
<li>Milk</li>
<li>Coffee</li>
</ul>
</body>
</html>
HTML Ordered List
In an ordered list, all list items are marked with numbers by default. An ordered list starts
with the <ol> tag. Each list item starts with the “li” tag.
Syntax:
<ol>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
</ol>
Attributes:
compact: It defines the list should be compacted (compact attribute is not supported in HTML5. Use CSS instead.).
reversed: It defines that the order will be descending.
start: It defines from which number or alphabet the order will start.
type: It defines which type(1, A, a, I, and i) of the order you want in your list of numeric, alphabetic, or roman
numbers.
Example
<!DOCTYPE html> <p>start attribute</p>
<html>
<ol start="5">
<head> <li>HTML</li>
<title>HTML ol tag</title> <li>CSS</li>
</head> <li>JS</li>
</ol>
<body>
<h1 style="color: green">HTML Lists</h1> <p>type attribute</p>
<h3>HTML ol tag</h3>
<ol type="i">
<p>reversed attribute</p> <li>HTML</li>
<ol reversed> <li>CSS</li>
<li>HTML</li> <li>JS</li>
<li>CSS</li> </ol>
<li>JS</li> </body>
</ol>
</html>
HTML Description List
A description list is a list of terms, with a description of each term. The <dl> tag defines the
description list, the <dt> tag defines the term name, and the <dd> tag describes each term.
Syntax:
<dl> Contents... </dl>
<!DOCTYPE html>
<html>
<body>
<h2>A Description List</h2>
<dl>
<dt>Coffee</dt>
<dd>- 500 gms</dd>
<dt>Milk</dt>
<dd>- 1 ltr Tetra Pack</dd>
</dl>
</body>
</html>
HTML Forms
HTML Forms utilize the <form> element as a powerful tool to collect user
input through a variety of interactive controls.
These controls range from text fields, numeric inputs, email fields, password
fields, to checkboxes, radio buttons, and submit buttons. In essence, an HTML
Form serves as a versatile container for numerous input elements, thereby
enhancing user interaction.
Syntax:
<form>
<!--form elements-->
</form>
Form Elements
The HTML <form> comprises several elements, each serving a unique purpose.
For instance, the <label> element is used to define labels for other <form>
elements. The <input> element, on the other hand, is versatile and can be used
to capture various types of input data such as text, password, email, and more,
simply by altering its type attribute. Now, let’s all the list of HTML Form
Elements one by one:
Elements Descriptions
<label> It defines labels for <form> elements.
<label for="password">Password:</label><br>
<input type="password" id="password" name="password"><br><br>
<body>
<img class=".img-fluid" src=
"https://media.geeksforgeeks.org/wp-content/uploads/20220201191443/logo-200x32.png"
style="width: 100%" />
<h2>Responsive Images</h2>
<p>
Responsive images are just a part of Responsive websites. Images that can change their dimensions, scaling them up or down, according
to the browser width are responsive images. The above image is responsive as it is adjusting itself according to the width of the browser.
</p>
</body>
</html>
HTML | <frame> Tag
HTML Frames are a powerful tool for dividing your web browser window into multiple
sections, each capable of loading content independently. This is achieved using a collection of
frames within a frameset tag.
Creating frames in HTML involves using the <frameset> tag instead of the <body> tag. Each
frame is defined by the <frame> tag, which specifies the HTML document to be loaded into
the frame. The row attribute is used to define horizontal frames, while the col attribute is used
for vertical frames. Here’s an example of how to create three horizontal frames using the row
attribute of the frameset tag.
Example
<html>
<head>
<title>Example of HTML Frames using row attribute</title>
</head>
<frame marginwidth="20">
marginheight: This attribute in frame tag is used to specify height of the spaces in pixels between the border and contents
<frame marginheight="20">
scrollbar: To control the appearance of scroll bar in frame use scrollbar attribute in frame tag. This is basically used to
control the appearance of scrollbar. The value of this attribute can be yes, no, auto. Where the value no denotes there will
<frame scrollbar="no">
Example:
<!DOCTYPE html>
<html>
<head>
<title>frameset attribute</title>
</head>
</html>
HTML <marquee> Tag
The <marquee> tag in HTML creates a scrolling text or image effect within a webpage. It allows
content to move horizontally or vertically across the screen, providing a simple way to add
dynamic movement to elements. Although this tag is deprecated in HTML5, it is still useful to
understand its functionality for legacy projects.
Syntax and Attributes
Basic Syntax
<marquee>
<!-- contents -->
</marquee>
Attributes of <marquee>
Attributes Values Description