HTML Web Server
If you want to publish your site to the world, you must store it on a Web server.
Hosting your own website
Hosting a Web site on your own server is always an option. There are a few things to consider:
Hardware expenditure
If you want to run a "real" website, you have to buy powerful server hardware. Don't expect low-priced PCs to handle these jobs. You also need a stable (24-hour day) high-speed connection.
Software expenditure
Keep in mind that server licensing is typically more expensive than client licensing. Also note that server licensing may have a limited number of users.
Labor costs
Don't count on cheap labor costs. You must install your own hardware and software. You also deal with vulnerabilities and viruses to ensure that your server is running normally in an environment where anything can happen.
Using an Internet service provider (ISP)
Renting a server from an ISP is also common.
Most small companies store the site on a server provided by the ISP. Its advantages include the following points:
Connection speed
Most ISPs have high-speed connections to the Internet.
Powerful hardware
ISPs ' Web servers are often powerful enough to be able to share resources from several sites. You'll also want to see if the ISP provides efficient load balancing and the necessary backup servers.
Security and reliability
ISPs are experts in web hosting. They should provide more than 99% online time, the latest software patches, and the best virus protection.
Considerations when choosing an ISP 24-hour support
Make sure your ISP provides 24-hour support. Don't put yourself in an awkward position where you can't solve a serious problem, and you must wait for the second business day. If you do not wish to pay for long distance calls, then the toll-free telephone service is also necessary.
Daily backup
Make sure your ISP performs routine daily backups, or you may lose valuable data.
Flow
Look at the traffic limits for your ISP. If you have unexpected traffic surges due to the popularity of your site, make sure you don't pay an extra fee for that.
Bandwidth or content limits
Consider the bandwidth and content limitations of your ISP. If you plan to publish pictures or broadcast video or audio, make sure you have this permission.
E-mail function
Make sure your ISP supports the e-mail features you need.
Database access
If you plan to use data from a Web site database, make sure that your ISP supports the database access you need.
Before you choose an ISP, be sure to read the W3school Web hosting tutorial.
HTML URL character encoding
URL encoding converts characters into a format that can be transmitted over the Internet.
URL-Uniform Resource Locator
The Web browser requests a page from the Web server via a URL .
URLs are the addresses of Web pages, such as http://www.w3school.com.cn.
URL encoding
URLs can only be sent over the Internet using the ASCII character set .
Because URLs often contain characters outside of the ASCII collection,URLs must be converted to valid ASCII format.
URL encoding uses a "%" followed by a two-bit hexadecimal number to replace non- ASCII characters.
The URL cannot contain spaces. URL encoding typically uses + to replace spaces.
If you click on the " submit " button below, the browser will encode the input before sending it . The page on the server displays the input received.
Top of form
URL Encoding Example
Character |
URL encoding |
€ |
%80 |
£ |
%a3 |
© |
%a9 |
® |
%ae |
À |
%c0 |
Á |
%c1 |
 |
%c2 |
à |
%c3 |
Ä |
%c4 |
Å |
%c5 |
HTML-----018----HTML WEB server/html URL character encoding