Professional Documents
Culture Documents
A Web Server is software that accepts HTTP requests from web clients and returns an
appropriate resource in the HTTP response.
Validating Parsers
Non-Validating Parsers
The style sheets which has been stored in separate files and included in an HTML
documents through the use of a link element are known as external style sheets.
i. Number
ii. String
iii. Boolean
iv. Null
v. Object
vi. Undefined
The XSLT stands for XSL Transformations and XSL stands for eXtensible Stylesheet
Language. The XSLT is used for defining the XML document transformation and
presentations.
BASIS FOR
XML HTML
COMPARISON
Provided information
language
spaces.
Closing tags Compulsory to use closing tags. Closing tags are option
BASIS FOR
XML HTML
COMPARISON
<!DOCTYPE html>
<html>
<body>
<?php
echo "Hello World!";
?>
</body>
</html>
Output:
Hello World!
11.Define DTD.
A Document Type Definition (DTD) defines the legal building blocks of an XML
document. It defines the document structure with a list of legal elements and attributes.
4. Response - It transmits information from the web server to web browser 5.Request -
It retrieves information from the browser for processing at the server.
An HTML or XML document is said to be well formed when it contains elements with
proper tagging and no syntactic errors.
A SAX parser is a mechanism for transforming an XML text document into stream of
events corresponding to the markup and character data contained in the original
document.
TCP/IP,
POP3,
MIME,
IMAP
<!DOCTYPE html>
<html>
<body>
<form action="/action_page.php">
<input type="submit">
</form>
</body>
</html>
Output:
Email:
Password:
Submit
17.What is AJAX?
AJAX stands for Asynchronous JavaScript and XML. AJAX is a new technique for
creating better, faster, and more interactive web applications with the help of XML,
HTML, CSS, and Java Script. ... A user can continue to use the application while the
client program requests information from the server in the background.
Arithmetic operators
Assignment operators
Comparison operators
Increment/Decrement operators
Logical operators
String operators
Array operators
HTTP means HyperText Transfer Protocol. HTTP isthe underlying protocol used by
the World Wide Web and this protocol defines how messages are formatted and
transmitted, and what actions Web servers and browsers should take in response to
various commands.
A parser is a piece of program that takes a physical representation of some data and
converts it into an in-memory form for the program as a whole to use.Parsers are used
everywhere in software. An XML Parser is a parser that is designed to read XML and
create a way for programs to use XML.
23.define SOAP
SOAP is an XML-based protocol for accessing webservices over HTTP. ... SOAP is
known as the Simple Object Access Protocol, but in later times was just shortened
to SOAP v1.2. SOAP is a protocol or in other words is a definition of how web services
talk to each other or talk to client applications that invoke them.
A proxy server verifies and forwards incoming client requests to other servers for further
communication. A proxy server is located between a client and a server where it acts as
an intermediary between the two, such as a Web browser and a Web server. The proxy
server's most important role is providing security.
They are used to output data to the screen. echo has no return value .
echo can take multiple parameters (although such usage is rare). echo is
marginally faster than print. The echo statement can be used with or
without parentheses: echo or echo().
The typeof operator can be used as a part of an expression to obtain the reference of
the Type object for various types that are used in the compilation unit. It can
be used to display the Type references as strings and can also be assigned to a
variable of type, System.
Rule Cascading
Inheritance
Both the document author and the person viewing the document can specify aspect of
the document style as it is displayed by the browser
i=”text”
XML declaration is a special tag used to specify the version of XML used to write the
document and optionally some additional meta-information about the document such as
the character set/encoding used. For e.g the syntax of XML declaration is
<? XML VERSION=”1.0”?>
In this parsing, Parser interacts with an application as its reads an XML document when
certain events occur and this approach is used by SAX (Simple API for XML) based
parsers.
36.Write the expansion for the following. i) XSL ii) JAXP III) CGI iv) JSP
37.What is RSS?
RSS stands for RDF (Resource Description Framework) Site Summary and is also
known as Rich Site Summary and Really Simple Syndication. RSS is popular and
simple XML format designed to share headlines and web content between Web sites.
This reference are second type of reference for each symbol in an HTML document and
begins with a number sign which follows the ampersand beginning the reference and is
followed by the Unicode Standard value of the character. E.g. < , ñ , α.
A CSS rule has two main parts: a selector, and one or more declarations: The selector
is normally the HTML element you want to style. Each declaration consists of a property
and a value. The property is the style attribute you want to change. Each property has a
value.
i. Using the array constructor directly in a call with no argument. E.G: VAR ARY1=NEW
ARRAY(); ARY1[0]=4; ARY1[1]=TRUE; ARY1[2]=”OK”
iii. The Array built-in object can be used to construct object with special properties and
that inherit various methods
VAR ARY2=[4,TRUE,”OK”];
Features
Service
Service Re-use
Messaging
Message Monitoring
Message Control
Message Transformation
Message Security
Complex Event Processing
Service Composition
Service Discovery
Asset Wrapping
Virtualization
Model-driven Implementation
The standard means of indicating to a browser that it should encrypt an HTTP request is
to use the https scheme on the URL for the request. For e.g. https://www.example.org will
cause the browser to attempt to send an encrypted HTTP GET request.
46.What are entity references?
A reference which uses a mnemonic name for the character references in the HTML
document always begins with ampersand (&) and ends with semicolon (;) is called an
entity reference. E.G. &NBSP;, " < > ETC.
A Web Client is software that accesses a web server by sending an HTTP request
message and processing the resulting HTTP response.
<HTML> </HTML>
<BODY> </BODY>
<FORM> </FORM>
<TABLE> </TABLE>
<PRE>, <BR>,
<H1>…. <H6>
<INPUT> <SELECT>
49.What are the three types of statements in JavaScript?
XSLT-XSL Transformations which defines the semantics of the various elements and
attributes of the XSL namespace.
XPATH – XML Path Language which defines the syntax and semantics of many of the
attribute values used in XSL elements for accessing positions of the input XML
document
XSL-FO – XSL Formatting Objects is a separate vocabulary for defining style properties
of an XML document.
XML Schemas are part of the XML vocabulary and its addresses the standard for XML
document validation by including a definition of a collection of standard data types which
are used to describe data structures.
A program that randomly rotates the banner ads that are seen by users on a Website
so that each time the site is visited or refreshed a different banner ad will appear on
the screen
A style sheet provides a great deal of control over the presentation of a document.
3. Reversing a String
9. Repeating a String
Global object is named window as global variables declared by your program are
actually stored as properties of this object. All built-in and host objects are also stored
as properties of global object
Relative positioning
Absolute positioning
Float positioning