Вы находитесь на странице: 1из 9

g

JAVA AND WEB TECHNOLOGY


ASSIGNMENT-1
Submitted by
NAME: K.SRUTHI
ROLL.NO:14691D5820
TOPIC: USER INTERACE ANALYSIS AN DESIGN

MASTER OF TECHNOLOGY IN COMPUTER SCIENCE & ENGINEERING

IP ADDRESSING
IP location is small for Internet Protocol (IP) address.
An IP location is an identifier for a computer or device on a TCP/IP networks. Systems utilize
the TCP/IP gathering route communication in glow of the IP location of the purpose.
The array of an IP Address
The agreement of an IP position is a 32-bit numeric address collected as four information remote
by stages. Every number can be zero to 255. For example, 1.160.10.240 could be an IP address.
Inside of a divided system, you can allocate IP addresses by chance the length of everyone is one
of a kind. In any case, interfacing a private system to the Internet oblige utilize enrolled IP
address (called Internet locations) to keep left from copies. An IP location can be fixed or factor.
A static IP location will never show signs of change and it is a continuous Internet address. An
element IP location is a temporary location that is allocated every time a computer or device get
to the Internet.
Understanding IP addressing.
The four numbers in an IP location are used as a part of different ways to deal with identify a
particular system and a host on that system. Four nearby Internet registries - ARIN, RIPE NCC,
LACNIC and APNIC- - designate Internet addresses from the going with three classes:
Class A - 16 million hosts on each of 126 systems
Class B - 65,000 hosts on each of 16,000 systems
Class C - 254 hosts on each of 2 million systems
The amount of unassigned Internet areas is running out, so another insensitive collection called
CIDR is logical supplant the system in view of classes A, B, and C and is settled to gathering of
IPv6. In IPv6 the IP area size is extended from 32 bits to 128 bits.

What is My IP Address?

To see your IP address you can utilize the (IPCONFIG) summon line apparatus. Ipconfig shows
all current TCP/IP system arrangement values and invigorates Dynamic Host Configuration
Protocol (DHCP) and Domain Name System (DNS) settings.

To transmit the charge brief from a Windows-based PC snap: Start > All Programs > Accessories
>Command Prompt. Sort ipconfig and press the Enter key.IPv4 and IPv6
IP address classes
These IP addresses can additional be busted down into classes. These classes are A, B, C, D, E
and their likely ranges

Figure2 .IP address classes


The choice of IP location structure class A and class B avoid the 127.0.0.0-127.255.255.255
region. That it is extent is saved for the curious location called loopback address that have
already been talk about above
Default N/W: The character systems 0.0.0.0 is usually utilize for directing
Class A: starting the answer new than you see that there are 126 classes a system. These systems
represent 16,777,214 functional IP addresses that can be dole out to plans and systems. This sort
of split is typically known not full-measure system, for instance, overall association.

Loopback: This is the particular 127.0.0.0 system that is kept as a loopback to your own
particular PC. These areas are use for endeavoring and fix of your plan or hardware.

Class B: This class comprises of 16,384 men organize, every part comprising of 65,534 potential
IP addresses. These wedges are as a rule because of Internet Service supplier and extraordinary
system,
Class C: There is a whole of 2,097,152 Class C systems accessible, with every system
comprising of 255 element IP address. This sort of class is generally situated to little to fair sized
gathering.
Class D: The IP addresses in this class are held for an administration called Multicast.
Class E: The IP addresses in this class are kept for new operation.
Transmit: This is the solitary arrangement of 255.255.255.255, and is utilized for transport
connection to the entire complex that your processor lives on.
Private address here are also collection of IP location that are located away for private privacy
use for PC not visibly connected to the Internet. These IP locations are not imaginary to be in
leave amid the Internet, and for the most part tune supplier will obstruct the attempt to do as
such. These IP locations are utilized for interior use by gathering or home systems that must to
utilize TCP/IP however would prefer not to be transparently clear on the Internet. These IP
extents are:

On the off chance that you are home leave gather and need to use TCP/IP, it must appoint your
PC IP address from one of these three territories that way your switch would be the basically
machine amid a actual IP address which make your system more protected.

IP address and their reason on the web is a important idea to acknowledge eagerly with this class
you will have a designer grasp on this idea which must help you investigate inconveniences and
transport kind of how the web processing deposit
Sample Example:
Package com.javacodegeeks.java.core
Import java.net.intetaddress;

Import java.net.unknownhostexception;
Public class getipaddress {
Public static void main (String [] args) throws unkownhostexception {
System.out.println (inetaddress.getlocalhost ( ).gethostaddress ());

System.out.println (inetaddress.getbyname (www.mits.ac.in));


Inetaddress [ ] inetaddress =inetaddress.getallbyname (www.mits.ac.in);
For (inetaddress ipaddress : inetaddrss) {
}
}
}
Sample output:
192.168.1.100
www.mits.ac.in/64.64.30.146
www.mits.ac.in/192.168.1.50
www.mits.ac.in/192.168.1.51

List out the Benefits of using styles when compared with placing formatting
directly into the html Web page ?
1.Linking typical CSS files
Joining is one of the systemfor uniting CSS standard to a HTML page. All CSS
style standards are kept up in a private substance content with .css extension. The
confirmation is spared change on area server & we connection to it immediately
from each HTML documents. The connection tag is just a basic line of HTML

name that you put in the header <head> section of our HTML record, it appears as
takes after:

<link rel="stylesheet" type="text/css" href="stylepage.css" media="screen"/>

2. Embedding CSS into the HTML :


We can include CSS run exclusively into any HTML report. For introduce CSS
into HTML we require to put in the below code to the header <head> of our
HTML record:
<head>
<style media="screen" type="text/css">
List the CSS style labels here
</style>
</head>

3.Adding Inline CSS to HTML labels: CSS style perspective can be introduced
direct to any HTML tag. For this we just put a style parameter to the segment and
enter the style leads as the value. Test of heading with blue substance and yellow
establishment:
<h2 style="color: blue;background:yellow;">
This is a blue heading with a yellow background</h2>

4.

Importing a CSS record:

Another sort to insert CSS to a HTML story is using import guideline. This offers
us to attach another CSS record from inside CSS itself. Allow us to think about one
as outline, how it is done. For importing another CSS report inside CSS we can
conform the yell rule:

@import "newstyles.css";

Design a web Page that displays employee details with the following CSS
properties

Sample code:
<html>
<head>
<style>
table, th, td {
border: 1px solid blue;
border-collapse: collapse;
}
th, td {
padding: 5px;
</style>
</head>
<body>
<table>
<tr>

<table style="width :80%">


<th bgcolor="#33CCFF">S.NO </th>
<th bgcolor="#33CCFF">EMPLOYEE</th>
<th bgcolor="#33CCFF">NAME</th>
<th bgcolor="#33CCFF">EMAIL</th>
</tr>
<tr>
<th bgcolor="#00FFFF">1</th>
<th bgcolor="#00FFFF">10051732569801</th>
<th bgcolor="#00FFFF">Abc</th>
<th bgcolor="#00FFFF"> <a href="abc@tcs.com">abc@tcs.com</a>
</th>
</tr>
</th>
<tr>
<th bgcolor="#CCFFFF">2</th>
<th bgcolor="#CCFFFF">10051732569802</th>
<th bgcolor="#CCFFFF">Bcd</th>
<th bgcolor="#CCFFFF"><a href="Bcd@infosys.com">Bcd@infosys.com</a></th>
</tr>
</tr>
<tr>
<th bgcolor="#99FFCC">3</th>
<th bgcolor="#99FFCC">10051732569803</th>
<th bgcolor="#99FFCC">Acd</th>
<th bgcolor="#99FFCC"> <a href="Acd@dell.org">Acd@dell.org</a></th>

</tr>
<tr>
<th bgcolor="#CCFFFF">4</th>
<th bgcolor="#CCFFFF">10051732569804</th>
<th bgcolor="#CCFFFF">Bzc</td>
<th bgcolor="#CCFFFF"> <a href="Bzc@microsoft.com">Bzc@microsoft.com</a></th>
</tr>
</table>
</body>
</html>
Sample Example:

Вам также может понравиться