Ddpz2613 topic2 web

  • View
    66

  • Download
    6

Embed Size (px)

Transcript

. The tag is used to tell the browser which HTML or XHTML version and type the document uses. Chapter 2: Creating and Editing a Web Page 7 8. Defining the HTML Document The first set of tags beyond the tag, and /html> indicates the start and end of and HTML document. The Header the next set of tags and , contains the Web page title and other document header information. The Body - the final set of tags, and , contains the main content of the Web page. All text , images, links and other content are contained within this final set of tags. Chapter 2: Creating and Editing a Web Page 8 9. Chapter 2: Creating and Editing a Web Page 9 Starting Notepad Click the Start button on the Windows Vista taskbar to display the Start menu Click All Programs at the bottom of the left pane on the Start menu to display the All Programs list Click Accessories in the All Programs list Click Notepad in the Accessories list to display the Notepad window If the Notepad window is not maximized, click the Maximize button on the Notepad title bar to maximize it 10. Chapter 2: Creating and Editing a Web Page 10 Starting Notepad 11. Chapter 2: Creating and Editing a Web Page 11 Enabling Word Wrap in Notepad Click Format on the menu bar If the Word Wrap command does not have a check mark next to it, click Word Wrap Notes: In Notepad, the text entered in the text area scrolls continuously to the right unless the Word Wrap feature is enabled or turned on. Word Wrap cause text lines to break at the right edge of the Windows and appear on the new line, so all the entered text is visible in the Notepad window. Word wrap does not affect the way text prints. 12. Chapter 2: Creating and Editing a Web Page 12 Enabling Word Wrap in Notepad 13. Chapter 2: Creating and Editing a Web Page 13 HTML Tags and Their Functions 14. Chapter 2: Creating and Editing a Web Page 14 Defining the Web Page Structure Using HTML Tags Enter the HTML code shown in Table 22 on page HTML 38. Press ENTER at the end of each line. If you make an error as you are typing, use the BACKSPACE key to delete all the characters back to and including the incorrect characters, and then continue typing Press the ENTER key once more, leaving one blank line after the tag Type and then press the ENTER key twice Type