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

Basics of html-hypertext markup language, In the form of hypermedia documen...

In the form of hypermedia documents, Web pages or materials accessed by the Internet can be located anywhere in the world. Regardless of where they originated, most of the Web d

Java, wat is- m=5; n=3; x=m++-n+++m;

wat is- m=5; n=3; x=m++-n+++m;

Write a program that draws the initials j, Write a program that draws the i...

Write a program that draws the initials J G P on the form similar to that shown in Fig J 1 (using straight lines and curve semicircles). The figure can not have corners. All ends a

Define the control statements in computer programming, Define the Control s...

Define the Control statements in Computer Programming? The statements are part of the program that performs some action. The compiler will check a program sequentially from the

Develop a system for record student information, Your task for this project...

Your task for this project is to develop a system that would provide the following features: 1. Register new student 2. Drop student from university 3. Add a course and gr

Write out the syntax of nested if statements, Write out the Syntax of Neste...

Write out the Syntax of Nested if Statements? The universal form is                         If(expression 1)                         {

Capital gain calculator, This assignment is divided into two parts. The goa...

This assignment is divided into two parts. The goal is to write a Java program that calculates capital gain on a stock market, see Lab 7. When a share of common stock of some co

Complementary slackness and duality, Consider the following LP problem: ...

Consider the following LP problem: min x 1 +3 x2 +x 3 -x 4 s.t. x 1 +x 2 +x 3 +x 4 ≥ 0 x 1 +x 2 -x 3 -x 4 ≥ 1 x 2 , x 3 ≥ 0 x 1 , x 4 ≤ 0. 1. Unique pr

Pseudocode for a program that reads a temperature, Write a pseudocode for a...

Write a pseudocode for a program that reads a temperature as a whole number from a user and outputs a “probable” season (winter, sprint, summer, or fall) depending on the temperatu

Find the general solution, Example : Find the general solution to the subse...

Example : Find the general solution to the subsequent differential equation. x 2 y′′ - 7 xy′ + 16 y= 0   Solution First the roots of (3)  r (r -1) - 7r + 16= 0 r 2

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