Đang chuẩn bị liên kết để tải về tài liệu:
giáo trình HTML5 và CSS3 từng bước phần 2

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Cơ bản về HTML và CSS Cascading Style Sheets, hay còn gọi tắt là CSS, là những file hỗ trợ cho trình duyệt Web trong việc hiển thị một trang HTML. Về cơ bản, các trang HTML như bộ xương - khuôn khổ cơ bản - của một trang web - trong khi các file CSS sẽ cụ thể hóa các thành phần của một trang nên được hiển thị như thế nào. CSS cho phép bạn kiểm soát phông chữ, màu chữ, kiểu nền., của một trang HTML | Formatting a Block Quotation 37 14. Apply the pre tag to the rest of the poem. pre The gardener does not love to talk He makes me keep the gravel walk And when he puts his tools away He locks the door and takes the key. Well now and while the summer stays To profit by these garden days O how much wiser you would be To play at Indian wars with me pre 15. Save the file and then refresh the Internet Explorer display to check your work. CLEAN UP Close the Notepad and Internet Explorer windows. Formatting a Block Quotation When quoting blocks from other sources it is customary both on Web pages and in print to indent those blocks from the main body of the text. The blockquote tag does exactly that. And don t feel constrained about using it you can use blockquote for any text that you want to indent not just quotations. 38 Chapter 3 The blockquote tag has a cite URL attribute but most browsers don t do anything with it. If you happen to know the URL for the source you are citing it is good practice to include it in the tag for browsers that do support the attribute and as an aid to anyone who might be viewing or editing your raw HTML code later. Note There is also a q tag which is used for formatting inline quotations. Its only functionality is to place quotation marks around the text that it encloses. Most people don t use this tag because it is much easier to simply type the quotation marks. In this exercise you will add a block quotation to a Web page. SET UP Open the poem and poemtext files from the previous exercise or in the practice file folder for this topic in separate instances of Notepad. These practice files are located in the Documents Microsoft Press HTML5 SBS 03Format FormattingQuotes folder. 1. In the poemtext file select only the text below the poem the heading and the biographical note and then press Ctrl C to copy it to the Clipboard. 2. In the poem file click above the body tag and then press Ctrl V to paste the copied text after the poem. 3. Enclose