Creating Web Pages FOR DUMmIES 7TH ‰ EDITION phần 6

và một số nước có luật qui định cụ thể những gì có thể và không thể được trên một trang Web. Hãy chắc chắn để tìm hiểu về các quy tắc và luật lệ áp dụng cho bạn trước khi bạn đặt bất cứ điều gìhương 12: Xuất bản trang web của bạn Sử dụng các nhà cung cấp dịch vụ Internet Nhà cung cấp dịch vụ Internet (ISP) | Chapter 9 Creating and Adding Web-Ready Graphics 173 Use the 1MG tag for inline graphics To use the IMG tag to link to an inline graphic that appears as part of your Web page along with the ALT option to specify alternate text follow these steps 1. Create or find a graphic that you want to use. Inline graphics that are embedded in the page should be small for fast display about the size of a business card or smaller. Use the sources we describe in the Obtaining and creating graphics section earlier in this chapter to find or create graphics. 2. If you re using Netscape Composer choose Insert1 Mmage. Type the URL of the image in the text entry box or choose a file from your hard disk with the Choose File button. If you re working directly in HTML add the IMG tag with the SRC or source option to specify the image s pathname. For a graphic that s in the same directory as the HTML file use the IMG tag and SRC option like this IMG SRC For a graphic that s at a different Web site use the IMG tag and SRC option like this IMG SRC http 3. Add the ALT option to specify text that appears if the graphic can t be viewed for example if the user is running a text-only browser or has graphics turned off. In Netscape Composer put the text in the Alternative Text text entry box. If you re working in HTML add the ALT option and text within the IMG tag like this IMG SRC http ALT New Don t depend on someone else s site being up at all times and always staying unchanged. If possible copy the graphic that you need into your own site s directory and refer to it there. Make sure though that you re not violating copyright laws in doing so. Add an A for anchor to create a graphical link As we note in the first part of the section on graphics and HTML one of the best ways to jazz up a Web page cheaply that is without slowing down the page a lot for everyone is to use graphical elements as icons that link to outside information such

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
20    63    2    09-05-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.