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

Java reflection api, Expertsmind brings you unique solution in java assign...

Expertsmind brings you unique solution in java assignments Reflection API Uses of Reflection with java assignment help Reflection is widely used by applications which

Project on automatic payments to employees, A large logistics company requi...

A large logistics company requires a software system to support the business processes associated with managing shift patterns of employees and making the associated payments. The

Function to check whether a certain ingredient is on pizza, Carnivorous Car...

Carnivorous Carla only eats pizza if it has at least three of the following ingredients: ham, pepperoni, salami, italian sausage, bacon. You have the function contains() to check w

Determine that the processes are iterative or recursive, Each of the follow...

Each of the following two procedures defines a method for adding two positive integers in  terms of the procedures inc, which increments its argument by 1, and dec, which decrement

Design and construct a basic math program, For this assignment you will nee...

For this assignment you will need to design and construct a basic math program which targets elementary school children. Your program must adhere to the following steps and require

Write a perl script that prints the contents of a file, Write a Perl script...

Write a Perl script that prints the contents of a file Write a Perl script that prints the contents of a file, prefixing each line with a line number. The script should acc

C# xna game project, I need to finish my game project within two weeks usin...

I need to finish my game project within two weeks using XNA. Would you guys can help me to finish it? Thank you

Linux commans, Corrected Exercise #1: 1. Explain the following unexpected r...

Corrected Exercise #1: 1. Explain the following unexpected result: why did you get the system date command instead of the script? $ whereis date date: /bin/date ... $ echo $PATH

Windows card space, Windows Card Space Windows Card Space (codenamed Info C...

Windows Card Space Windows Card Space (codenamed Info Card), is Windows now-canceled customer application for the Identification Met system. Card Place is an instance of a class of

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