Pages

How to Add a Banner Using HTML Programming

Instructions



    • 1
      Start the word processor or text editor that you will use to create your web page.
    • 2
      Choose the GIF image that you wish to use as your banner and save it in a location on your computer.
      The image should be approximately 450 pixels. If needed, you may reduce the size of the image so that it will take up less space on your compute
    • 3
      Type <IMG SRC=”?”>. Replace the question mark with the location of the image on your computer. If it is stored in the same folder as your web page, you can specify just the name of the image. Your text should look like the example below.<HTML><HEAD><TITLE>This is your title</TITLE></HEAD><BODY><IMG SRC=“banner.gif”><H1><CENTER>This is your text.</CENTER><P>Welcome to our page.</P>
    • 4
      Open a new web browser to verify that your web page displays the image as a banner across the top of your page. To open the web page in the browser, click the file button along the menu bar, click open. The open dialog box appears. Click Browse to locate your web page in the location that it is saved. Choose the web page that you wish to open. Your web page will appear in the browser.

Tips & Warnings

  • You should display the web page in several browsers to see how each browser will display your page.
  • When you type text into your text editor, your text may scroll off of the screen. When you open your web browser to view the document, the text will fit properly in the screen.
    Sponsored Links

No comments:

Post a Comment