Danh mục

HTML in 10 Steps or Less- P15

Số trang: 20      Loại file: pdf      Dung lượng: 754.58 KB      Lượt xem: 15      Lượt tải: 0    
Hoai.2512

Phí tải xuống: 9,000 VND Tải xuống file đầy đủ (20 trang) 0
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

HTML in 10 Steps or Less- P15:Welcome to HTML in 10 Simple Steps or Less. Our mission in writing this book is to provide a quickand accessible way for you to learn Hypertext Markup Language — the lingua franca of the WorldWide Web. We hope this book provides a resource that beginning and intermediate HTML coders canuse to improve their Web development skills. It is also our hope that it fills multiple roles as both a teachingtool and a reference once you expand your skills.
Nội dung trích xuất từ tài liệu:
HTML in 10 Steps or Less- P15 256 Part 12 Task 117 Creating and Opening Files W hen you first open TextPad, you see a new blank file. You also see various interface elements at your disposal to generate HTML files. 1. To create a new unnamed document, choose File ➪ New or click the New Document button (see Figure 117-1) on the tool bar. You will note see a blank screen awaiting your code. • If you’re like one of the authors, you don’t know what filename you’re going to give a file until you’ve finished with it. If you’re like the other author, you know what you’re going to name Figure 117-1: TextPad’s New Document button the file right away, making this step your first choice. 2. To create a new named document, choose File ➪ Open or click the Open button (see Figure 117-2). This displays the Open File(s) dialog box. Figure 117-2: TextPad’s Open button 3. In the field that lists all your folders (see Figure 117-3), double-click a folder where you want to create the file. caution • TextPad’s default file exten- sion is .txt unless you specify otherwise. Figure 117-3: The Open File(s) dialog boxPlease purchase PDF Split-Merge on www.verypdf.com to remove this watermark. TextPad 257 4. Type the filename in the File Name field. 5. Use the Files of Type list to select the file type (HTML) and then click OK (see Figure 117-4). Task 117 tip Figure 117-4: The Files of Type list • To select multiple files, hold down the Ctrl button to select each in turn, or the 6. Click Yes in the message box that appears, which tells you that the Shift button to select a file does not exist and asks whether you want to create it. range of files. 7. To open an existing file, choose File ➪ Open from the menu or click the Open button to display the File Open dialog box. 8. Locate the file you want to open from within your file system and click OK. cross-reference • You can instantly fill a new file with structural tags of a blank HTML document using TextPad’s clip libraries. To learn more, see Task 128.Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 258 Part 12 Task 118 Moving Around in Text P rogrammers don’t touch the mouse much. Why should they? When you code, you type a lot so why should your hands ever leave the keyboard? TextPad, like any good text editor, provides keystrokes that can move the cursor quickly through your code so your fingers don’t have to waste precious seconds moving to the mouse to perform basic functions. (Well, almost never.) 1. To move the cursor to the beginning of a file, press Ctrl+Home (see Figure 118-1). Figure 118-1: Pressing Ctrl+Home jumps the cursor to the start of the document. 2. To move the cursor to the end of the file, press Ctrl+End (see Figure 118-2). Figure 118-2: Pressing Ctrl+End jumps the cursor to the end of the document. 3. To move the cursor forward one word (or tag, attribute, or value), press Ctrl+W. 4. To move the cursor back one word, press Ctrl+B.Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. ...

Tài liệu được xem nhiều: