tailieunhanh - giáo trình HTML5 và CSS3 từng bước phần 1

Tham khảo tài liệu 'giáo trình html5 và css3 từng bước phần 1', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 6 Chapter 1 SET UP Open Notepad. 1. Select File Open. 2. Navigate to the folder containing the practice files for this chapter. On the Places bar click Documents or My Documents if you are using Windows XP . In the Open dialog box double-click Microsoft Press. The HTML5 SBS folder appears as an icon. 3. Drag the HTML5 SBS icon to the Favorites list on the left side of the window. A shortcut for it appears on the Favorites list. Drag the folder here to create a shortcut X CLEAN UP Close the Windows Explorer window Now the next time you want to open a file in the Open dialog box you can double-click that shortcut and then double-click the folder for the chapter you are working on which is much more convenient Previewing a Web Page in a Web Browser 7 Opening a File from Windows Explorer A quick way to open most file types in their default applications is to double-click them from any Windows Explorer window. However the problem with doing that for HTML files is that the default application is your Web browser not Notepad thus instead of the file opening in Notepad it opens in your Web browser. One way to get around this is to right-click a file in Windows Explorer choose Open With from the contextual menu and then click Notepad. This opens Notepad and loads the file. Previewing a Web Page in a Web Browser Because Notepad is not a WYSIWYG What You See Is What You Get program you won t be able to immediately see how the tags you type will affect the finished product. To work around this most Web page designers keep a browser window open next to Notepad. You can preview your work in any browser you do not need to use Internet Explorer 9 although that s what I use in this book s examples . In fact as you progress with your Web development skills you will probably want to acquire several different browsers to test your pages because each browser might display page elements a little differently. 8 Chapter 1 For beginners though Internet Explorer is a good choice because it