0% found this document useful (0 votes)
17 views1 page

Iq Test - What Is Your Iq?: Difference Between Javascript and HTML

The document compares JavaScript and HTML. JavaScript is a scripting language that adds interactivity to web pages and runs in browsers. HTML defines the structure and meaning of web content and is the fundamental building block of web pages.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

Iq Test - What Is Your Iq?: Difference Between Javascript and HTML

The document compares JavaScript and HTML. JavaScript is a scripting language that adds interactivity to web pages and runs in browsers. HTML defines the structure and meaning of web content and is the fundamental building block of web pages.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

GEEKSFORGEEKS

Difference between JavaScript


and HTML
JavaScript:
JavaScript 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.

HTML:
HTML (HyperText Markup Language) is the most
basic building block of the Web. It defines the
meaning and structure of web content. It is the
combination of Hypertext and Markup language.
Hypertext defines the link between the web
pages.

Let’s see the di!erence between JavaScript and


HTML:

S.NO. JAVASCRIPT HTML

HTML is the most


JavaScript is a high-
basic building block
level scripting
of the Web. It
language introduced
1 defines the
by Netscape to be run
meaning and
on the client-side of
structure of web
the web browser.
content.

JavaScript is an
advanced HTML is a standard
programming markup language
2 language that makes that provides the
web pages more primary structure
interactive and of a website.
dynamic.

HTML work on the


JavaScript simply adds
look of the website
dynamic content to
3 without the
websites to make
interactive e!ects
them look good.
and all.

HTML pages are


It manipulates
static which means
4 content to create
the content cannot
dynamic web pages
be changed.

It adds interactivity to It defines the basic


5 web pages to make structure of a web
them look good. page.

JavaScript is an
HTML is rendered
advanced
from all server-side
programming
6 which is di!erent
language used to
from client-side
create dynamic web
scripting.
pages.

JavaScript is not
HTML is cross-
cross-browser
browser compatible
compatible (some
7 (it works well with
functions may not
all versions of the
work on every
browser).
browser).

JavaScript can be HTML can not be


8 embedded inside embedded inside
HTML. JavaScript.

Article Tags : Difference Between HTML and XML

javaScript Web technologies

IQ test - What is your IQ?

Answer 20 questions to /nd out

Read Full Article

710-B, Advant Navis Business Park,


Sector-142, Noida, Uttar Pradesh - 201305
[email protected]

COMPANY
About Us
Careers
Privacy Policy
Contact Us

LEARN
Algorithms
Data Structures
Languages
CS Subjects
Video Tutorials

PRACTICE
Company-wise
Topic-wise
Contests
Subjective Questions

CONTRIBUTE
Write an Article
GBlog
Videos

IQ test - What is your IQ?


Answer 20 questions to /nd out

test-iq.org Open

@geeksforgeeks, Some rights reserved

You might also like