Professional Documents
Culture Documents
Ans: Hyperlink :
Text
Images
URLs
Controls (for example, a button)
With HTML, easily add hyperlinks to any HTML page. Link team page, about
page, or even a test by creating it a hyperlink. You can also create a hyperlink for
an external website. To make a hyperlink in an HTML page, use the <a> and
</a> tags, which are the tags used to define the links.
The <a> tag indicates where the hyperlink starts and the </a> tag indicates
where it ends. Whatever text gets added inside these tags, will work as a
hyperlink. Add the URL for the link in the <a href=” ”>. Just keep in mind that you
should use the <a>…</a> tags inside <body>…</body> tags.
2. Define Multimedia? How various types of list can be created in HTML?
Ans : Multimedia :
Multimedia is almost anything you can hear or see (e.g. sound, music, images,
records, videos, films, animations, etc.). It comes in different formats. Web pages
can contain multimedia elements of different formats and types.
The List can be used to store the information in short, either in bulleted form or
numbered format, that visually help to look at a glance. In other words, it is used
to group together related items or lists, & used to structure and show important
information where each list item is displayed on the new line.
HTML lists allow the content to follow a proper semantic structure. All the tags
in the list require opening and closing tags. There are 3 types of lists in HTML,
namely:
Unordered List
Ordered List
Description List
We will explore all the List types in HTML, along with their implementation
through the examples.
Unordered List: An Unordered list is used to create a list of related items, in
bulleted or unordered format. It starts with the <ul> tag, followed by the <li> tag
to show list items inside <ul> tag.
Syntax:
<ul>
<li>Item1</li>
...
</ul>
Ordered Lists: The Ordered lists have an order which is either numerical or
alphabetical. The <ol> tag is used to create ordered lists in HTML and just like
unordered list, we use <li> tag to define or show lists inside <ol> tag.
Syntax:
<ol>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
</ol>
Description List: A description list is a type of list where each item has a
description. It is also known as a definition list. The <dl> tag is used to create
description list, the <dt> tag defines the item, and the <dd> tag describes each
item in list.
Syntax:
<dl> Contents... </dl>
Ans : DHTML :
The DHTML application was introduced by Microsoft with the release of the
4th version of IE (Internet Explorer) in 1997.
o HTML 4.0
o CSS
o JavaScript
o DOM.
Ans : Cookies :
Working of Firewall :
A firewall welcomes only those incoming traffic that has been configured to
accept. It distinguishes between good and malicious traffic and either allows or
blocks specific data packets on pre-established security rules.
These rules are based on several aspects indicated by the packet data, like their
source, destination, content, and so on. They block traffic coming from
suspicious sources to prevent cyberattacks.
Fig: Firewall allowing Good Traffic
In client server computing, the clients requests a resource and the server
provides that resource. A server may serve multiple clients at the same time
while a client is in contact with only one server. Both the client and server usually
communicate via a computer network but sometimes they may reside in the
same system.
An illustration of the client server system is given as follows −
Differences between LAN, MAN, and WAN
Basis LAN MAN WAN
Operates in small
areas such as the Operates in larger areas
Geographic same building or Operates in large such as country or
Span campus. areas such as a city. continent.
Fault There is more fault While there is less In WAN, there is also
tolerance tolerance in LAN. fault tolerance. less fault tolerance.
<font> It defines the font, size, color, and face for the content. (Not
supported in HTML5)
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML - doctype tag</title>
</head>
<body>
<p>Doctype is used to declare type of markup language used.</p>
</body>
</html>
8. What is Java Script? Explain various data types of Java Script?
Primitive values
All types except objects define immutable values (that is, values which can't be changed).
For example (and unlike in C), Strings are immutable. We refer to values of these types
as "primitive values".
Boolean type
The Null type has exactly one value: null. See null and Null for more details.
Undefined type
A variable that has not been assigned a value has the value undefined.
See undefined and Undefined for more details.
Numeric types
Number type
The Number type is a double-precision 64-bit binary format IEEE 754 value. It is capable
of storing floating-point numbers between 2^-1074 and 2^1024, but can only safely store
integers in the range -(2^53 − 1) to 2^53 − 1. Values outside of the range
from Number.MIN_VALUE to Number.MAX_VALUE are automatically converted to
either +Infinity or -Infinity, which behave similarly to mathematical infinity,
but with some slight differences; see Number.POSITIVE_INFINITY for details.
BigInt type
The BigInt type is a numeric primitive in JavaScript that can represent integers with
arbitrary precision. With BigInts, you can safely store and operate on large integers even
beyond the safe integer limit for Numbers.
String type
JavaScript's String type is used to represent textual data. It is a set of "elements" of 16-bit
unsigned integer values. Each element in the String occupies a position in the String. The
first element is at index 0, the next at index 1, and so on. The length of a String is the
number of elements in it.
Symbol type
Objects
Ans :
Ans :
<font> It defines the font, size, color, and face for the content. (Not
supported in HTML5)
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML - doctype tag</title>
</head>
<body>
<p>Doctype is used to declare type of markup language used.</p>
</body>
</html>