TAILIEUCHUNG - HTML in 10 Steps or Less- P18

HTML in 10 Steps or Less- P18: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. | 316 Part 13 Task Defining CSS Font Properties The HTML Tools Palette provides a means of editing Cascading Style Sheet code whether the code is inline embedded or in an external style sheet document. Ta modify CSS font tag properties follow these steps. note If you initially place the cursor within an existing style declaration the corresponding selector appears in the Selector field and the properties you define are added to the existing declaration. 1. Place the cursor in the current document at the point you want to insert the style definition. Click the CSS button and choose Font from the submenu to open the Font dialog box see Figure 146-1 . Figure 146-1 The Font dialog box 2. Enter a selector of your choice in the Selector field. 3. To specify a color property click the color picker and select a color from the color palette. 4. To define a font-size property click the pop-up menu beside the Size field to select a unit of measure and then enter a value in the field. 5. Ta define a line-height property click the pop-up menu beside the Line Height field to select a unit of measure and enter a value in the field. 6. To define a font-family property enter a value in the Font Family field. Please purchase PDF Split-Merge on to remove this watermark. Working with BBEdit 317 7. To define a font-style property choose Italic Oblique or Normal from the Style pop-up menu. The Default value leaves the property undefined. 8. To define a font-weight property choose a value from the Weight pop-up menu. The Default value leaves the property undefined. 9. To define a font-variant property choose Small-Caps or Normal from the Variant pop-up menu. The Default value leaves the property undefined. 10. When you ve completed you choices click the Apply button to insert the style declaration see Figure 146-2 . Task Figure 146-2 A completed style definition in the document window tips The best unit of measure for cross-platform usage is pixels. Define font family .

TỪ KHÓA LIÊN QUAN
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.