Uniform Resource Locators - URL in HTML
Uniform Resource Locators - URL is another way of writing a web address.
The URL can be made up of letters (quantrimang.com) or IP address (192.68.20.50). Most users use names because they are easier to remember.
URL - Reousece Uniform Locators - Uniform resource positioning
The web browser will request the web page from the web server with the URL. The Uniform Resource Locator (URL) is used to determine the address of a document (or other data) on the network. A web address like https://quantrimang.com/html/ will follow the syntax rules as follows.
scheme://prefix.domain:port/path/filename
Inside
- scheme - defines the type of Internet service (usually HTTP or HTTPS)
- prefix - prefix of domain name (default with HTTPS is www)
- domain - define the domain name (eg quantrimang.com)
- port - defines the port number at the host (default with HTTP is 80)
- path - defines the path to the server (if omitted, this will be the root of the page)
- filename - defines the name of the file or data source
Popular Scheme URL
Popular Scheme URLs (connection protocols) are listed in the table below:
Protocol Full name Purpose of using http HyperText Transfer Protocol Regular, unencrypted web sites https Secure HyperText Transfer Protocol Secure, encrypted web page ftp File Transfer Protocol Upload or download file file A file on your computer countURL encoding
URLs can only be transferred via the Internet using ASCII encoded character sets. If there are non-ASCII characters contained, the URL will be converted. URL encoding will convert non-ASCII characters to another format for transfer over the Internet, replacing these characters with '%' and followed by decimal digits.
The URL cannot contain spaces, usually the encryption process will replace the white space with a plus sign (+) or% 20.
ASCII coding examples
Depending on the character set used on the page, the browser will encrypt the input. The default HTML5 character set is UTF-8.
Character From Windows-1252 From UTF-8 €% 80% E2% 82% AC £% A3% C2% A3 ©% A9% C2% A9®% AE% C2% AE A% C0% C3% 80 Asia% C1% C3 % 81%% C2% C3% 82%% C3% C3% 83 Ä% C4% C3% 84 Å% C5% C3% 85Previous article: Character encoding in HTML (Charset)
The following article: HTML and XHTML
You should read it
May be interested
- Text in HTMLthe element in html is used to define a paragraph of text.
- How to Use Text Color Tags in HTMLthis article explains how to change the font color in html documents. although the html style tag is obsolete in html5, you can use css to color content on an html page. if you use an older version of html, you can use the html text color tag as needed.
- Format text in HTMLformat elements in html help determine the style and importance of text.
- Elements in HTMLthe html element usually goes in pairs, including the opening tag, closing tag, and the content inside the two tags.
- Symbol - Icon in HTMLhtml has many mathematical, technical and monetary symbols that cannot be used to write.
- 5 ways to open Resource Monitor in Windows 10resource monitor is a tool that allows you to simply monitor cpu, memory, disk and network usage. in this tutorial, tipsmake will show you quick ways to open resource monitor in windows 10.
- Parameters in HTTPthis chapter lists some of the http protocol parameters and their syntax by which they are used in communication.
- Common HTML mistakes that you should avoid for better web programminglearning html is not difficult, but when running it in the browser, errors often occur. here are common html errors and how to handle them for better web development.
- How to insert spaces in HTMLthis tutorial explains how to insert spaces and line breaks in html. because no matter how many times you type a space, html will display a space so to insert more than one space, you will need to use the html tag.
- Image img in HTMLwhen you visit the website, you will often see images of all sizes and positions on the page. images in html web pages will help to enrich the content as well as increase the aesthetics of the page.