TAILIEUCHUNG - HTML in 10 Steps or Less- P3
HTML in 10 Steps or Less- P3:Welcome to HTML in 10 Simple Steps or Less. Our mission in writing this book is to provide a quick and accessible way for you to learn Hypertext Markup Language — the lingua franca of the World Wide Web. We hope this book provides a resource that beginning and intermediate HTML coders can use to improve their Web development skills. It is also our hope that it fills multiple roles as both a teaching tool and a reference once you expand your skills. | 16 Part 1 Task 8 Defining Meta Tag Robot Values A robot is a type of program that search engines use to browse Web site documents and update their databases. Robots that make use of meta tag information read the metadata and index it for the search engine. You can control how much or how little of your site a robot reads using the following attributes and values for the meta tag. note The reasons for allowing a robot to crawl your site are obvious. You want the search engine to explore your site fully in order to index everything baring it all for public consumption. However there are times when you don t want this to happen for example if you have pages you don t want the world knowing about yet like ones you re in the process of testing or pages that contain information you only want a limited audience to know about. 1. Enter a meta tag in the head section of your document below the document title. 2. Define the name attribute and set it equal to robots as shown in Listing 8-1. html head title HTML in 10 Simple Steps or Less title meta name keywords content HTML Hypertext Markup Language 10 Simple Steps or Less meta name description content HTML in 10 simple steps or less. An introductory guide for the beginning coder meta name author content Robert Fuller and Laurie Ulrich meta name expires content Mon 17 February 2003 02 00 00 GMT meta http-equiv refresh content 5 url http meta name robots head body body html Listing 8-1 Setting the name attribute equal to robots Please purchase PDF Split-Merge on to remove this watermark. HTML Document Structure 17 3. To instruct robots to read your entire page and follow all the links within it follow the name attribute and robots value with the content attribute and set it equal to all follow as shown in Listing 8-2. Task 8 head title HTML in 10 Simple Steps or Less title meta name keywords content HTML Hypertext Markup Language 10 Simple Steps or Less meta name description content HTML in 10 .
đang nạp các trang xem trước