Zloweb
RU

Anatomy of a URL

How schemes, hosts, paths, queries and fragments fit together.

Identify each component

In the example, https is the scheme and zloweb.top the host. The optional port follows the host. The path locates the page, the query supplies parameters, and the fragment points to a position or state within the resource. Browsers keep the fragment out of the HTTP request.

https://zloweb.top/guides/?topic=http#contents

Percent encoding

A percent escape uses a percent sign followed by two hexadecimal digits representing a byte. Encode an individual component before assembling a URL if its values contain syntax characters such as ampersands. Under form encoding, a space can be represented by a plus sign and a literal plus by %2B.

Build a safe query value

Encode café & tea with the URL tool, then append the result after ?q=. If you decode a value from a form-style query and it uses plus for spaces, select form decoding.

caf%C3%A9%20%26%20tea

Try the tools

Related reading

References