Describe url and hostname part, Programming Languages

Assignment Help:

Describe URL and hostname part?

The hostname part of the URL should be a valid Internet hostname. It can also be an IP address like as 204.29.207.217 or 128.235.252.184.

The port number is optional. It's not essential if the service is running on the default port, 80 for http servers.

The path points to a particular directory on the exactly server. The path is associative to the document root of the server, not of necessity to the root of the file system on the server. In general a server does not show its entire file system to clients. Indeed it might not really expose a file system at all. Rather it shows only the contents of a specified directory. This directory is known the server root, and all paths and filenames are associative to it. Therefore on a Unix workstation all files in which are available to the public might be in /var/public/html, but to somebody linked from a remote machine this directory looks like the root of the file system.

The filename points to a particular file in the directory specified by the path. It is frequent omitted in that case it is left to the server's discretion what file, if any, to send. Many servers will send an index file for that directory, frequent known as index.html. Others will send a list of the files in the directory. Others may send an error message.

The fragment identifier is used to reference a named anchor or ID in an HTML document. A named anchor is shaped in HTML document with an A element with a NAME attribute like this one:

Comments
In more modern browsers we can also use an ID attribute on any element instead:

Comments


For more detailed information about URLs, see


Related Discussions:- Describe url and hostname part

Service oriented architectures in xml, question 1: In the opening lecture I...

question 1: In the opening lecture I spoke about general changes in business - flatter organizations, process orientation as opposed to functional silos, focus on supply chains, gr

Undetermined coefficients, We now require starting looking into finding a p...

We now require starting looking into finding a particular solution for n th order differential equations. The two ways which we'll be looking at are similar as those which we look

Programming, You must programme an analogue clock and digital stopwatch usi...

You must programme an analogue clock and digital stopwatch using the Processing programming language

Type of linear programming - dea, Type of Linear Programming - DEA The ...

Type of Linear Programming - DEA The Express Dry Cleaners currently has four locations in the Chicago area and willing be opening the fifth in the very near future.  Mr. James,

3 halves, #1. Every mathematics student likes primes numbers. Every mathema...

#1. Every mathematics student likes primes numbers. Every mathematics student like parabolas. Let''s put them together to have some fun: Consider two natural numbers a and b. Of co

Program for tube challenge route, 1. Introduction The Tube Challenge is ...

1. Introduction The Tube Challenge is a Guinness World Records challenge that tests both the physical and mental abilities of the person trying to break it. The main components

Java, what is the difference between class and interface

what is the difference between class and interface

Kinect help, My kinect hand cursor only works for main menu but when it go...

My kinect hand cursor only works for main menu but when it goes to another page it wouldn''t work.. especially when there is for camera feed

Creates an object and prompt the user to enter the name, Design an object d...

Design an object definition named Pet, which should have the following fields: name: The name field holds the name of a Pet type: The type field holds the type of anima

Need help for crowdsporting website development, CrowdSporting Website Deve...

CrowdSporting Website Development I want an advanced web developer to spend 1-2 days coding our newly designed website. It will be a single page scrolling site, fully designed a

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd