24
HTML Frames and HTML Forms

HTML frames and HTML forms

Embed Size (px)

Citation preview

Page 1: HTML frames and HTML forms

HTML Frames and HTML Forms

Page 2: HTML frames and HTML forms

HTML Frames• Frames – enables the browser to display more than one HTML document on the same window.

Page 3: HTML frames and HTML forms

HTML Frames

Page 4: HTML frames and HTML forms

HTML FramesSample syntax of HTML Frames<frameset cols=40%, 60%><frame src= “grade6.html”><frame src = “grade6-2013.html”></frameset>

Page 5: HTML frames and HTML forms

HTML Frames

Page 6: HTML frames and HTML forms

HTML Frames<frameset> Are frames to be displayed on the browser window. It contains columns (cols) with number of percent that represents the area of the column that will appear on the screen of the webpage.

Page 7: HTML frames and HTML forms

HTML Frames<frame> Is the element that defines the HTML document that will be displayed on a specific region of the browser window. *SRC is the filename of a separate html document that you want to display on the screen.

Page 8: HTML frames and HTML forms

HTML FramesSample syntax of HTML Frames<frameset cols=40%, 60%><frame src= “grade6.html”><frame src = “grade6-2013.html”></frameset>

Page 9: HTML frames and HTML forms

HTML Frames

You can also create multiple frames to be displayed.

Page 10: HTML frames and HTML forms

HTML Frames

Page 11: HTML frames and HTML forms

HTML Forms

Forms – is used to allow user to enter information like text fields, text area fields, drop-down menus, radio buttons, checkboxes, etc.

Page 12: HTML frames and HTML forms

HTML Forms

Page 13: HTML frames and HTML forms

HTML Forms

Input <input>- Is used to define an input field where the user may enter information on the form .

Page 14: HTML frames and HTML forms

HTML FormsTwo attributes1. Type – determines what kind of

input field2. Name – assigns a name to the

given field so that you have a reference for later use

Page 15: HTML frames and HTML forms

HTML FormsSample syntax<form>First name: <input type =“input” name=“sarah”> </form>Last name:<input type =“text” name=“leah”> </form>

Page 16: HTML frames and HTML forms

HTML Forms

Page 17: HTML frames and HTML forms

HTML Forms• To specify one type of input tag

from another we set the type attribute to one of the following values.

1. <text>2. <password>

Page 18: HTML frames and HTML forms

HTML Forms1. text - produces single line text

entry 2. password - allows password

and other secret data to be entered

Page 19: HTML frames and HTML forms

HTML FormsSample syntax<form>First name: <input type =“input” name=“sarah”> </form>Last name:<input type =“text” name=“leah”> </form>Password:<input type =“password” > </form>

Page 20: HTML frames and HTML forms

HTML Forms

3. Radio – is used to display a list of options. However it only allows one option to be selected.

Page 21: HTML frames and HTML forms
Page 22: HTML frames and HTML forms

HTML Forms

4. Checkbox – allows the user to select one or more options from a set of choices. One can select by clicking on one of the options.

Page 23: HTML frames and HTML forms
Page 24: HTML frames and HTML forms

Hypertext Markup Language