Skip to content
geeksforgeeks
  • 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
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • HTML Tutorial
  • HTML Exercises
  • HTML Tags
  • HTML Attributes
  • Global Attributes
  • Event Attributes
  • HTML Interview Questions
  • HTML DOM
  • DOM Audio/Video
  • HTML 5
  • HTML Examples
  • Color Picker
  • A to Z Guide
  • HTML Formatter
Open In App
Next Article:
Difference Between HTML and SGML
Next article icon

Difference between JSP and HTML

Last Updated : 05 Nov, 2020
Comments
Improve
Suggest changes
Like Article
Like
Report

1. Java Server Pages (JSP) :
JSP stands for Java Server Pages. These files have the extension. jsp. The main advantage of JSP is that the programmer can insert Java code inside HTML. There are JSP tags to insert Java code. The programmer can write the tag at the end of the Java code. There are different JSP tags which can be used to accomplish various tasks. There are tags to share data between requests and pages and tags to pass control between pages and to get data from databases, etc. JSP is made on top of a Java-based technology called Java Servlet.

Java Server Page (JSP) may be a technology developed by Sun Microsystems, back in 1999, and is meant for creating dynamically generated sites . When a page is dynamic, it continually updates the knowledge, at an equivalent time the online page is being showed the client. Using JSP technology, it allows the online designers and developers to simply maintain and develop the online page content.

2. Hypertext markup language (HTML) :
HTML is a Hypertext markup language, the standard markup language for documents designed to displayed and viewed on the online during a browser also helps to create the structure of the web page. because it is a markup language, it consists of the many tags. There are tags to display text, tables, ordered lists and unordered lists, etc. There are two main section in the HTML page: head and body section. The data that describes the page also termed as metadata is inside the head section while the body section includes all the tags that are necessary to represent the visible content of the web page.

There are various HTML versions. the newest version is HTML 5. it’s more advanced features like Geo-location, native audio, and video support, Canvas, web socket etc. Usually, HTML is a simple language to find out and use. A programmer can create an HTML file employing a simple text editor and execute it employing a browser.


Difference between JSP and HTML :

S.No. JSP HTML
1 JSP is given by Sun Micro System. HTML was created by Tim Berners-Lee in 1991.
2 JSP provides a dynamic interface for the continuously changing data and also it dynamically invokes the server actions. HTML provides a means to give a detailed account of the structure of text-based information in a document.
3 JSP generated dynamic web pages only. Whereas Html generated static web pages only.
4 There is a need of JSP container to execute Jsp code. There is a need of Html Interpreter to execute these code.
5 JSP give the permission to place java code inside JSP pages. In HTML it do not allow to place java code inside Html pages.
6 JSP is a technology which is used to create dynamic web applications. HTML is a standard markup language which is used to create the structure of web pages.
7 JSP allow to place the custom tag or third party tag. It does not allow to place the custom tag or third party tag.
8 JSP runs straight on the Web Server and local JVM. HTML runs in the Web Browser.
9 JSP is termed as server-side scripting language. HTML is termed as client-side scripting language.
10 JSP takes some time to load as it need to interact with the Web Server. As HTML runs on the local machine, it gets loaded very faster.



Next Article
Difference Between HTML and SGML

P

pulkitagarwal03pulkit
Improve
Article Tags :
  • Difference Between
  • HTML
  • Web Technologies
  • Java 8

Similar Reads

  • Difference Between HTML and SGML
    Most of us are familiar with HTML due to its connection to the World Wide Web. It drives the internet, allowing us to build and use websites, share material, and communicate with online services. HTML is only one branch of a much broader tree called SGML, which serves as the basis for several markup
    5 min read
  • Difference between HTML and HTTP
    HTML stands for HyperText Markup Language and is one of the basic tools any webmaster or web designer uses while HTTP stands for HyperText Transfer Protocol and is a tool used in browsing the web. It would be helpful for anyone designing web sources to clearly understand the relation between HTML an
    5 min read
  • Difference between JavaScript and HTML
    JavaScriptJavaScript is a programming language that conforms to the ECMAScript specification. It is a high-level scripting language introduced by Netscape to be run on the client-side of the web browser. It can insert dynamic text into HTML. JavaScript is also known as the browser’s language. HTMLHT
    2 min read
  • Difference between HTML and WML
    1. Hyper Text Markup Language (HTML) : Hyper Text Markup Language (HTML) refers to the standard markup language to create web pages. It consists of series of elements/tags which are used to define structure of your content means design the structure of a web page. It was created to serve content to
    2 min read
  • Difference between HTML and HTML5
    HTML stands for Hyper Text Markup Language. It is used to design web pages using a markup language. HTML is a combination of Hypertext and Markup language. Hypertext defines the link between the web pages. A markup language is used to define the text document within the tag which defines the structu
    4 min read
  • Difference Between HTML and ASP
    HTML and ASP are two very common aspects in the web programming world. HTML stands for HyperText Markup Language used to develop web pages and specifically web design. Primarily written using HTML elements, they consist of tags, an opening, and a closing tag. The data between these tags is usually t
    2 min read
  • Difference between HTML and CSS
    HTML (HyperText Markup Language) and CSS (Cascading Style Sheets) are the foundational technologies for creating web pages. HTML provides the structure, while CSS defines the style and layout. HTML is used along with CSS and Javascript to design web pages. HTML (HyperText Markup Language)HTML is the
    4 min read
  • Difference between XHTML and HTML5
    XHTML is an older, stricter version of HTML that follows XML rules. HTML5 is the latest and more flexible version, bringing in new features for better multimedia and web applications. HTML5 is simpler to use, while XHTML demands strict adherence to XML standards. Table of Content XHTMLHTML5Similarit
    4 min read
  • Difference Between JSP and PHP
    JSP was an implies of giving a comparable programming fashion to PHP and ASP. It is based on Java Servlets and requires a Servlet holder server like Tomcat to supply the backend preparation required to change over the JSP to a servlet that can yield HTML. In differentiating PHP can run on its posses
    4 min read
  • Difference between JSP and ASP
    JSP stands for Java Server Pages, a server-side scripting language which helps developers to create dynamic web pages based on HTML, XML or other types. It was created by Sun Micro systems. It's also similar to the ASP and PHP but it uses Java programming languages and it has the full access to Java
    2 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