chapter 1 html webpublishing / notes on webpublishing and html class 12 it
DESCRIPTION
Notes for reference on Webpublishing and HTML, learn HTML Basics.TRANSCRIPT
Chapter 1
Web Publishing
Introduction
Frame
Frames can help to display more than one window at a same time.
Frame divide the screen in to separate window s are totally independent of each other.
tag to create a frame this tag is written in place of tag. This tag is closed with tag. The tag defines how to divide the window into frames.
Attributes of tag-
1. Rows/cols- sets the number of rows or columns required to create a frame. It indicate the amount of screen area each row/column, which will occupy.
a. The total area of all the rows and columns must be either defined in terms of percentage. E.g. means first frame 20% of total size and third frame 50% of total size.
OR
b. Relative value by using (*) sign e.g. 50%, * means first frame 50% of total size and * means the remaining second.
OR
c. In terms of Pixels e.g. means 50 pixels to the first frame and the remaining space to the second frame.
tag- is used to create frame in a frameset.
Attributes-
1. Src- the URL of the document to be displayed in the frame.
2. Name- it is used to assign the name to the frame.
3. Border- shows the border around the frame specifies in pixels.
4. Margin height/width- specifies height (top and bottom margin) and width (left and right margin) in pixels.
5. Scrolling- yes scroll bars
No- no scroll bars
Auto- let the browser choose
6. No resize- prevents the user from resizing the frame window.
This is
Frame1.html
This is
Frame2.html
Programs- 1)
vertical frames
This is
Frame1.html
This is
Frame2.html
2)
Horizontal frames
This is
Frame1.html
This is
Frame2.html
This is
Frame3.html
3)
frames
Top
Left
Right
Bottom
4)
frames
Page1
Page2
Page3
Page4
5)
frames
Linking Frame-
For linking name and target attributes are used. In linking there is links on the left side of browser and content is displayed on the right side while clicking on links.
Steps-
First create a frameset with 2 frames. Give name to the frames using the name attribute.
Male Output-
4. Checkbox- used for creating set of checkboxes.
IT Output-
5. (submit)Submit-used to sends the data of form to the server.
Output-
7. Hidden- It indicates a form field that does not appear visibly in the document.