• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Editing HTML Source Code

There are a number of ways to look at the source code for your Web pages. HTML files are text files and contain no graphics or compiled code. HTML is a markup language for structuring content for display in a Web browser; it is not a programming language. The code can include descriptive information to help classify the content for search engines; scripts that give the browser commands, like for computing an equation or resizing windows; text content to be displayed in the browser; and formatting to specify position, sizes, fonts, and links to other documents. This book is not a complete HTML primer, but you’ll pick up a couple of coding tricks along the way and learn the basics of cutting and pasting code within files.

All that you need to view the source code for an HTML document is your Web browser. When using Netscape or Internet Explorer, simply right-click (Windows) or Ctrl+click (Macintosh) an area of the page. Choose View Source from the pop-up menu. The HTML code will appear in your default text editor. The HTML code for the index.htm page viewed at the end of the previous task is shown in Figure 16.8.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint