1Differentiate between Java & Java scripts.
Java :-
Java
Programming language, is an OOP Language and development environment,
application environment, deployment environment. It is standalone programming Language that do not
require a web browser to execute.
Java script:
It is a contained in the HTML source of
webpage. It controls document appearance and content.
It also manipulates embedded images and it
also interacts with Applets. Its advantage is that it is simplified,
it doesn’t have to be compiled and the source
code resides within our HTML document.
1 What are cookies? And why are cookies used
for?
Cookies are small text strings you store on a
user's computer. Cookies store information for tracking users in name-value pairs. When you first visit a
website it may store a cookie on your computer. Next, when you again visit the
site it may read or manipulate the value of the cookie and perform an action
based on it. For example, if a site allows you to customize the color of the
user interface, it may set the color selected by you in a cookie on your
computer and read the color value when next time you request the page of the
website. The page can them be displayed in the color stored in the cookie.
2What is XML?
Give the XML document.
XML is a simple, common format for representing
structured information as text. You can create your own tags to define and
structure data, and transmit it. The
basic syntax of XML is extremely simple. As with HTML, XML represents
information as text using tags to add structure. A tag begins with a name in
between angular brackets (<>). In XML, every tag must have a closing tag.
An opening tag, closing tag and any content in between are collectively
referred to as an element of an XML document. Elements can contain other
elements but they must be properly nested. Elements can also contain text or a
combination of elements and text.
No comments:
Post a Comment