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

Pascal, how do i make a bomber game using pascal on a software called lazur...

how do i make a bomber game using pascal on a software called lazuras

Define a procedure that takes a list as a single argument, (a) Define a pro...

(a) Define a procedure (subsets x) that takes a list as a single argument and returns all 2^n subsets of that list, i.e. the power set of the list; e.g. (subsets '(a b c)) ==> (

Data modelling-use case diagram and sequence diagram, On-line fair and ethi...

On-line fair and ethical share trading system (Olfest) A system is required that allows on-line customers to buy and sell stock market shares in a selection of companies. B

Create hijara game application, Assignment is to create hijara game on any ...

Assignment is to create hijara game on any plate form, you can use any plate form you like or easy to you. For instance let's say you can use visual studio, game studio (Prefer to

Database, How to create an ER diagram?

How to create an ER diagram?

Program for searching by indexing text files, Write a program that can faci...

Write a program that can facilitate searching by indexing text files according to words. In this task, you are given a large text file, sample.txt, which you will need to index the

Advance operating systems, Project2: A Simple Distributed Computing Platfor...

Project2: A Simple Distributed Computing Platform (Due at 11:59:59pm on 04/12/2012 (EST)) Description: You are asked to develop a replicator (client) that distributes a large job

Explain how web designers can deal with css , Explain, in your own words, ...

Explain, in your own words, how web designers can deal with CSS conflict resolution. What is the order of precedence between the different types of CSS (inline, embedded and extern

Rewrite the xhtml code, Below is an example of an invalid XHTML page. Your ...

Below is an example of an invalid XHTML page. Your goal is to rewrite the code so that: No deprecated/obsolete tags are being used All elements are nested correctly (i.e

CMIS 102, Calculate the total price based on several key parts required to ...

Calculate the total price based on several key parts required to build a state-of-the-art gaming computer. The user will have the option of selecting different parts.

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