TAILIEUCHUNG - Tự học HTML và CSS trong 1 giờ - part 53

Tham khảo tài liệu 'tự học html và css trong 1 giờ - part 53', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 496 LESSON 17 Working with Frames and Linked Windows Now return to the red page and click the second link. The blue page opens in a third browser window. Note that the new windows probably won t be laid out like the ones shown in Figure they usually overlap each other. The following target blue_page statement in the page is what causes the new window to open a href target blue_page Open a the Blue Page in a new window. p The previous two examples opened each of the web pages in a new browser window. The third link however uses the target yellow_page statement to open the green page in the window named yellow_page. You accomplish this using the following code in p a href target yellow_page Replace a the yellow page with the Green Page. p Because you already opened the yellow_page window when you clicked the link for the yellow page the green page should replace the page that s already in it. To verify this click the third hyperlink on the red page. This replaces the contents of the yellow page with the yellow_page target name with the green page as shown in Figure . FIGURE displayed in the web browser window named green_page. Pagp Green Page This is the third target page. Its target is yellow_page. It should replace the yellow page in the browser. The base Tag When you re using the target attribute with links you ll sometimes find that all or most of the hyperlinks on a web page should point to the same window. This is especially true when you re using frames as you ll discover in the following section. Download from Working with Linked Windows 497 In such cases instead of including a target attribute for each a tag you can use another tag base to define a global target for all the links on a web page. The base tag is used as follows base target window_narne If you include the base tag in the head . head block of a document every a tag that doesn t have a target

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.