Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Màu sắc HTML được định nghĩa bằng cách sử dụng một hệ thập lục phân (hex) ký hiệu cho sự kết hợp của Red, Green, và các giá trị màu Blue (RGB). Giá trị thấp nhất có thể được trao cho Nếu có nhiều hơn một dịch vụ web, nó có thể tạo ra Tìm hiểu HTML và CSS với W3Schools | Learn HTML and CSS with w3schools 8 The path is defining a path a subdirectory at the server. If the path is omitted the resource the document must be located at the root directory of the Web site. 8 The filename is defining the name of a document. The default filename might be default.asp index.html or something else depending on the settings of the Web server. URL Schemes Some examples of the most common schemes can be found in the following table SCHEMES ACCESS file a file on your local PC ftp a file on an FTP server http a file on a World Wide Web Server gopher a file on a Gopher server news a Usenet newsgroup telnet a Telnet connection WAIS a file on a WAIS server Accessing a Newsgroup The following HTML code a href news alt.html HTML Newsgroup a creates a link to a newsgroup. Downloading with FTP The following HTML code a href ftp www.w3schools.com ftp winzip.exe Download WinZip a creates a link to an FTP directory. The link doesn t work. Don t try it. It s just an example. w3schools doesn t really have an FTP directory. Link to your Mail system The following HTML code a href mailto someone@w3schools.com someone@w3schools. com a creates a link that opens a new e-mail message addressed to the address in the link. 158 Chapter 23 HTML Uniform Resource Locators Using Links The following sample code shows how to use the three types of URL links described. Results of the code appear in Figure 23.1. Try it yourself html body p a href news alt.html HTML Newsgroup a p p a href ftp www.w3schools.com ftp winzip.exe Download WinZip a p p a href mailto someone@w3schools.com someone@w3schools. com a p body html HTML Newsgroup Download WinZip someone@w3schools.com Figure 23.1 159 CHAPTER 24 HTML SCRIPTS In This Chapter Insert a Script into a Page How to Handle Older Browsers noscript Tag Script Tags Insert a Script into a Page Add scripts to HTML pages to make them more dynamic and interactive. A script in HTML is defined with the script tag. This example demonstrates how .