[Go to site: main page, start]

0% found this document useful (0 votes)
2 views2 pages

Java

JavaScript operates on an Object Model, where elements like the browser window and HTML documents are treated as objects. HTML tags can be embedded within JavaScript using document.write(), allowing for dynamic content creation on web pages. The document also outlines various types of operators in JavaScript, including arithmetic, comparison, logical, and string operators.

Uploaded by

Cs7 gamer
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Java

JavaScript operates on an Object Model, where elements like the browser window and HTML documents are treated as objects. HTML tags can be embedded within JavaScript using document.write(), allowing for dynamic content creation on web pages. The document also outlines various types of operators in JavaScript, including arithmetic, comparison, logical, and string operators.

Uploaded by

Cs7 gamer
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

JAVA

QUESTIONS
D
[Link] follows an Object Model, like
many other programming languages. This
means a program is written by thinking in
terms of objects. In JavaScript, things like
the browser window, the HTML document,
and forms are objects. These objects are
made up of smaller objects such as text
boxes and radio buttons.

[Link] tags can be written inside JavaScript


to create content on a web page. When
JavaScript uses [Link](), the
browser reads the text inside the double
quotes. If the text contains HTML tags, the
browser treats them as HTML and displays
them properly. If there are no HTML tags, the
browser shows the text as plain text.
5. Various types of operators in JavaScript
are discussed below.
a. Arithmetic operators: These operators are
used to perform arithmetic
calculations using variables or constants.
b. Comparison operators: These operators
are used to test if two
variables relate to each other in the
specified way.
c. Logical operators: These operators
perform logical operations on
variables.
d. String operator: A string is a set of
characters. To join two or more
string values together, you use the plus ‘+’
operator. This is also known
as string concatenation operator.

You might also like