How to Create a Frame Using HTML Programming

HTML--Hypertext Markup Language--is a computer language that is used to create web pages. Websites and web pages are written in HTML code. Whether you are setting up a personal web page or a business web page, learning HTML code can be very beneficial. Knowing how to use the codes can help you manipulate your page settings. HTML documents contain plain text and have the extension .html or .htm. You can create frames to divide your web browser window into rows or columns. Creating frames for your site is a great way to give your page more appeal and attract viewers to it. This guide will teach you how to create frames for display on your page. It presents a very simple approach to customizing your page.

Instructions

    • 1

      Start the word processor or text editor that you will use to edit your web page. Locate the web page on your PC that you will be editing.

    • 2

      Type <FRAMESET directly below the </HEAD> tag. Press the space bar. To create frames in rows, type ROWS=“a,b…”> Replace a,b and so on with the height of each row that you want to create. Your text should look like the following: </HEAD><FRAME SET ROWS=”40,*”></HTML>

    • 3

      Type COLS=“A,B…”> Replace a,b and so on with the width of each column you want to create. This will create your frames in columns.

    • 4

      Type <FRAME NAME=“?” To specify the information for one frame, Replace the question mark with a name for the frame. Press the space bar.

    • 5

      Type SRC=“?”. Replace the question mark with the location of the web page you want to see appear in the frame. Type </FRAMESET> Your text should look like the following example:<FRAME NAME=“banner” SRC= “banner.html”></FRAMESET></HTML>

    • 6

      Repeat Steps 4 and 5 for each frame you created in Step 3.

    • 7

      Open a new web browser to verify that your web page displays the frames correctly. To display your page you may use a browser, such as Internet Explorer. Scroll bars will automatically show when a frame is too small to display the contents of an entire web page.

Tips & Warnings

  • You should display your web page in several browsers to see how each browser will display your page.

Related Searches:

Comments

You May Also Like

Related Ads

Featured