Alternatively, press Ctrl+N (Windows) or Cmd+N (Mac). The Welcome Screen is no longer visible, so you need to use the menu option File > New to open the New Document dialog box. Tip: You can always get to the current website's local site folder by clicking the Site Root button at the bottom of the Save As dialog box. The file is now listed in the Files panel, and the tab at the top left of the Document window displays the filename. In the Save As dialog box, make sure you are in the bayside local site folder, name the file index.html, and click Save.Save the file by selecting File > Save or using the keyboard shortcut Ctrl+S (Windows) or Cmd+S (Mac). If content doesn’t show up in Live View or a browser, the most likely reason is that you’ve pasted it outside the body. Like human beings, an HTML page can have only one head and only one body. But you need to be careful if you copy and paste code from elsewhere. Most of the time, Dreamweaver creates all the necessary code for you as you work with its visual interface and dialog boxes. All the content for the page goes between the opening and closing tags. The section on lines 2–6 contains information for the browser. The whole page is nested inside a pair of tags (on lines 2 and 10). Most tags come in pairs, with the closing tag indicated by a forward slash after the opening angle bracket. Line 1 is the document type ( doctype) declaration that tells the browser this is an HTML file. Although the screenshots for this series were taken on Windows, the instructions are identical for Mac OS X, apart from keyboard shortcuts and the labels on some buttons (both are given). On Windows, set up a folder called Sites at the top level of your C drive. On Mac OS X, your home folder already includes a folder called Sites. Tip: If you plan to work on several sites, it’s a good idea to create a folder on your local hard drive to store them. The web server is often (but not always) the computer that makes your site publicly available on the web.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |