SlideShare a Scribd company logo
Working with Forms and Frames04
          Session 4
Module Introduction
   Frames
   Forms and Controls
FRAMES
   Explain the FRAMESET element
   Explain the IFRAME element
   Explain the NOFRAME element
FRAMES
   Frames refer to a technique of dividing the
    browser windows into multiple sub-windows.
   Each sub-window is called as a frame.
   Each frame contains a separate html page and
    is independent of other frames in the browser.
FRAMESET Elements
   A frameset specifies a general layout of a
    web page that consists of frames.
   It defines how the browser should be divided
    into frames.
   To specify this division, the FRAMESET
    elements provides the ROWS and COLS
    attributes.
FRAMESET Element
<html>
<head>
  <title>Welcome</title>
</head>
  <frameset cols="50%,50%"
  rows=“*”>
      <frame src="First.html">
      <frame src="Second.html">
  </frameset>
</html>
FRAMESET Element

   Attribute of Frameset
        Attribute               Description
    frameborder       Specifies where frames within a
                      frameset consist of borders.
    framespacing      Specifies the space between
                      individual frames with a
                      framset.
FRAME
   Attribute of Frame
       Attribute                        Description
    frameborder    Specifies whether the current frame consist of
                   borders.
    marginheight   Specifies the top and bottom margins of the current
                   frame.
    marginwidth    Specifies the left and right margins of the current
                   frame.
    name           Specifies the name of the current frame. The
                   browser use the name to refer to the frame.
    noresize       Informs that a user cannot resize a current frame

    scrolling      Specifies scrollbar for the current frame
FRAME
<html>
<head>
    <title>Welcome</title>
</head>
<frameset rows="100,*">
 <frame src="Banner.html" frameborder="1" noresize>
 <frameset cols="25%,*" frameborder="NO" noresize>
    <frame src="Links.html" name="leftFrame"
    scrolling="NO" noresize>
    <frame src="Main.html" name="contents"
    frameborder="0">
 </frameset>
</frameset>
    <noframes></noframes>
</html>
IFRAME Element
   Inline frames allow you to embedded an
    HTML page within a main HTML page such
    that the inserted page is displayed as a part
    of document’s flow.
   Inline frames are also called as “floating
    frames”.
IFRAME Element
<html>
<head>
   <title>Untitled Document</title>
</head>
<body>
   <p>This page support iframe.</p>
   <iframe src="AboubtUs.html" width="250" height="100" scrolling="yes" frameborder="1"/>
   <p>This browser does not support IFRAME element.</p>
</body>
</html>
NORAME Element
   One of the limitations of using
    frames is that the frames are not
    supported by all browser.
   The “NOFRAME” element specifies
    the text to be displayed in the
    browser if the browser does not
    support frame
    <noframes>
      <body>
        <p>This browser does not support
      frames.</p>
      </body>
    </noframes>
FORMS AND CONTROLS
   Explain HTML forms
   Describe the basic elements
   Explain the INPUT element
   Explain the LABEL element
   Explain the BUTTON element
   Explain the SELECT and OPTION elements
Forms

   An HTML form is a container that consists of
    various controls such as checkboxes, radio
    buttons, menus, …
   For example, consider a Login form that allows
    you to specify the login name and password.
Forms
Forms
   Attribute of Form
      Attribute                      Description
    action        Specifies the URL where the form data will be
                  submitted and processed.
    method        Indicates an HTTP method that specifies how the
                  data of the form is send to server.
                  This attribute has two values namely: GET and POST.
Basic Controls

   Label
   Text Box
   Button
   Check Box
   Radio Button
INPUT Element
   A control allows you to
    accept different type of
    input from the user.
   The different values that the
    type attribute can take care:
       Text for Text Box
       Password for Password
       Submit for the Submit button
       Reset for the Reset button
       Radio for Radio Button
       Checkbox for Check Boxes
LABEL Element
   A LABEL element creates a
    label control on a form.
   You use the FOR attribute
    associates a label with
    another control.
   The value of the FOR
    attribute must be the same
    as the value of the ID
    attribute of the associated
    control element.
BUTTON Element
   A BUTTON element creates a
    button on a form.
   The buttons created using the
    BUTTON element are similar to
    buttons created with INPUT
    element, however it’s offer
    richer functionalities.
MENU Element
   Menus are control that allow
    the user to select an option
    from a given set of options.
   To create menu, you use
    SELECT element. The select
    element must have at least one
    OPTION element.
   Menu that allows the user to
    select a single option or
    multiple options.
Registration form
<html>                                                     <tr>
<body>                                                         <td>Address:</td>
<form id="frmReg" name="frmReg" method="post" action="">       <td>
 <h2>Account Registration Form</h2>                             <textarea name="textarea" cols="19"></textarea>
 <table width="300">                                            </td>
  <tr>                                                        </tr>
    <td width="120">Name:</td>                                <tr>
    <td width="180">                                           <td></td>
     <input name="textfield" type="text" size="25" />          <td>
    </td>                                                        <input type="submit" name="Submit" value="Submit" />
  </tr>                                                          <input type="reset" name="Submit2" value="Reset" />
  <tr>                                                         </td>
    <td>Marital Status: </td>                                 </tr>
    <td>                                                    </table>
     <select name="select">                                </form>
       <option>Single</option>                             </body>
       <option>Married</option>                            </html>
       <option>Married But Available</option>
     </select>
     </td>
  </tr>
Summary
   A form is selection of an HTML document that
    contains special elements called as controls.
   Control are used to accept input from user and
    provide some interaction
   The <FORM> element is used to create the region
    on the page that will be treated as a form.
   The <INPUT> element defines the type and
    appearance of the control to be displayed on the
    form
                                 Building Dynamic Websites/Session 1/ 23 of 16
Summary…
   Frames divide a Web broswer’s window into
    separate regions, each of which can display
    separate scrollable page.
   An HTML document with frames has a HEAD and a
    FRAMESET section.
   Cannot use BODY and FRAMSET set elements
    together
   The NOFRAMES element is used to specify alternate
    content to be used if the browser does not support
    The IFRAME element is used to define inline frame
                                    Building Dynamic Websites/Session 1/ 24 of 16


More Related Content

What's hot

Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio video
Saad Sheikh
 
Html Help Sheet 02
Html Help Sheet 02Html Help Sheet 02
Html Help Sheet 02
zsk
 
HTML Frameset & Inline Frame
HTML Frameset & Inline FrameHTML Frameset & Inline Frame
HTML Frameset & Inline Frame
Nisa Soomro
 
Forms in html5
Forms in html5Forms in html5
Forms in html5
hrisi87
 
Web engineering - HTML Form
Web engineering -  HTML FormWeb engineering -  HTML Form
Web engineering - HTML Form
Nosheen Qamar
 
HTML 4.0
HTML 4.0HTML 4.0
Fork forms library
Fork forms libraryFork forms library
Fork forms library
YoniWeb
 
html for beginners
html for beginnershtml for beginners
html for beginners
KIIZAPHILIP
 
Xml part2
Xml part2Xml part2
Xml part2
NOHA AW
 
Angular Reactive Forms vs React Redux Form
Angular Reactive Forms vs React Redux Form Angular Reactive Forms vs React Redux Form
Angular Reactive Forms vs React Redux Form
Briisk
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
HARUN PEHLIVAN
 
Xml part3
Xml part3Xml part3
Xml part3
NOHA AW
 
HTML and CSS part 2
HTML and CSS part 2HTML and CSS part 2
HTML and CSS part 2
Julie Iskander
 
Xml part1
Xml part1  Xml part1
Xml part1
NOHA AW
 
Chapter 2 class power point
Chapter 2 class power pointChapter 2 class power point
Chapter 2 class power point
cmurphysvhs
 
Html 5 Forms
Html 5 FormsHtml 5 Forms
Html 5 Forms
Jim Gerland
 
Xml part4
Xml part4Xml part4
Xml part4
NOHA AW
 

What's hot (20)

Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio video
 
Html Help Sheet 02
Html Help Sheet 02Html Help Sheet 02
Html Help Sheet 02
 
HTML Frameset & Inline Frame
HTML Frameset & Inline FrameHTML Frameset & Inline Frame
HTML Frameset & Inline Frame
 
Forms in html5
Forms in html5Forms in html5
Forms in html5
 
Web engineering - HTML Form
Web engineering -  HTML FormWeb engineering -  HTML Form
Web engineering - HTML Form
 
HTML 4.0
HTML 4.0HTML 4.0
HTML 4.0
 
Cmsc 100 (web forms)
Cmsc 100 (web forms)Cmsc 100 (web forms)
Cmsc 100 (web forms)
 
Fork forms library
Fork forms libraryFork forms library
Fork forms library
 
Tags
TagsTags
Tags
 
HTML
HTML HTML
HTML
 
html for beginners
html for beginnershtml for beginners
html for beginners
 
Xml part2
Xml part2Xml part2
Xml part2
 
Angular Reactive Forms vs React Redux Form
Angular Reactive Forms vs React Redux Form Angular Reactive Forms vs React Redux Form
Angular Reactive Forms vs React Redux Form
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
 
Xml part3
Xml part3Xml part3
Xml part3
 
HTML and CSS part 2
HTML and CSS part 2HTML and CSS part 2
HTML and CSS part 2
 
Xml part1
Xml part1  Xml part1
Xml part1
 
Chapter 2 class power point
Chapter 2 class power pointChapter 2 class power point
Chapter 2 class power point
 
Html 5 Forms
Html 5 FormsHtml 5 Forms
Html 5 Forms
 
Xml part4
Xml part4Xml part4
Xml part4
 

Viewers also liked

Html frames
Html framesHtml frames
Html frames
nobel mujuji
 
kodi
kodikodi
kodimorag
 
Hotel Management
Hotel ManagementHotel Management
Hotel Management
Sam_eer
 
Html frames
Html framesHtml frames
Html frames
eShikshak
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
our-islam
 
Appendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-Patna
Appendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-PatnaAppendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-Patna
Appendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-Patna
Anil Kumar
 

Viewers also liked (12)

Html frames
Html framesHtml frames
Html frames
 
kodi
kodikodi
kodi
 
M02 un10 p01
M02 un10 p01M02 un10 p01
M02 un10 p01
 
Html tutorial 5
Html tutorial 5Html tutorial 5
Html tutorial 5
 
Hotel Management
Hotel ManagementHotel Management
Hotel Management
 
Html Frames
Html FramesHtml Frames
Html Frames
 
Html frames
Html framesHtml frames
Html frames
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html frames
Html framesHtml frames
Html frames
 
Appendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-Patna
Appendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-PatnaAppendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-Patna
Appendicitis PPT By Dr Anil Kumar, Assist Professor,Gen Surgery, AIIMS-Patna
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 

Similar to 04. session 04 working withformsandframes

HTML Forms
HTML FormsHTML Forms
HTML Forms
Nisa Soomro
 
CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
gunjansingh599205
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
Taha Malampatti
 
5. Frames & Forms.pdf
5. Frames & Forms.pdf5. Frames & Forms.pdf
5. Frames & Forms.pdf
qwertyuiop154709
 
331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheet331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheet
stephen972973
 
Designing web pages html forms and input
Designing web pages html  forms and inputDesigning web pages html  forms and input
Designing web pages html forms and inputJesus Obenita Jr.
 
HTML - FORMS.pptx
HTML - FORMS.pptxHTML - FORMS.pptx
HTML - FORMS.pptx
Nyssakotian
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
MuhammadAbdulSattarC
 
Html Form Controls
Html Form ControlsHtml Form Controls
Web forms and html lecture Number 4
Web forms and html lecture Number 4Web forms and html lecture Number 4
Web forms and html lecture Number 4
Mudasir Syed
 
Html 4
Html   4Html   4
Html 4
Html   4Html   4
HTML Walkthrough Internship Course
HTML Walkthrough Internship CourseHTML Walkthrough Internship Course
HTML Walkthrough Internship Course
Zoltan Iszlai
 
Html forms
Html formsHtml forms
Javascript dom
Javascript domJavascript dom
Javascript dom
Muthuganesh S
 

Similar to 04. session 04 working withformsandframes (20)

HTML Forms
HTML FormsHTML Forms
HTML Forms
 
CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
5. Frames & Forms.pdf
5. Frames & Forms.pdf5. Frames & Forms.pdf
5. Frames & Forms.pdf
 
331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheet331592291-HTML-and-Cascading style sheet
331592291-HTML-and-Cascading style sheet
 
Designing web pages html forms and input
Designing web pages html  forms and inputDesigning web pages html  forms and input
Designing web pages html forms and input
 
Web(chap2)
Web(chap2)Web(chap2)
Web(chap2)
 
HTML - FORMS.pptx
HTML - FORMS.pptxHTML - FORMS.pptx
HTML - FORMS.pptx
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
 
Html Form Controls
Html Form ControlsHtml Form Controls
Html Form Controls
 
Web forms and html lecture Number 4
Web forms and html lecture Number 4Web forms and html lecture Number 4
Web forms and html lecture Number 4
 
html tags
html tagshtml tags
html tags
 
Chapter09
Chapter09Chapter09
Chapter09
 
Html 4
Html   4Html   4
Html 4
 
Html 4
Html   4Html   4
Html 4
 
Unit 2
Unit 2 Unit 2
Unit 2
 
HTML Walkthrough Internship Course
HTML Walkthrough Internship CourseHTML Walkthrough Internship Course
HTML Walkthrough Internship Course
 
Html forms
Html formsHtml forms
Html forms
 
Javascript dom
Javascript domJavascript dom
Javascript dom
 
Html
HtmlHtml
Html
 

More from Phúc Đỗ

15. session 15 data binding
15. session 15   data binding15. session 15   data binding
15. session 15 data bindingPhúc Đỗ
 
14. session 14 dhtml filter
14. session 14   dhtml filter14. session 14   dhtml filter
14. session 14 dhtml filterPhúc Đỗ
 
13. session 13 introduction to dhtml
13. session 13   introduction to dhtml13. session 13   introduction to dhtml
13. session 13 introduction to dhtmlPhúc Đỗ
 
12. session 12 java script objects
12. session 12   java script objects12. session 12   java script objects
12. session 12 java script objectsPhúc Đỗ
 
11. session 11 functions and objects
11. session 11   functions and objects11. session 11   functions and objects
11. session 11 functions and objectsPhúc Đỗ
 
10. session 10 loops and arrays
10. session 10   loops and arrays10. session 10   loops and arrays
10. session 10 loops and arraysPhúc Đỗ
 
09. session 9 operators and statements
09. session 9   operators and statements09. session 9   operators and statements
09. session 9 operators and statementsPhúc Đỗ
 
08. session 08 intoduction to javascript
08. session 08   intoduction to javascript08. session 08   intoduction to javascript
08. session 08 intoduction to javascriptPhúc Đỗ
 
07. session 07 adv css properties
07. session 07   adv css properties07. session 07   adv css properties
07. session 07 adv css propertiesPhúc Đỗ
 
06. session 06 css color_andlayoutpropeties
06. session 06   css color_andlayoutpropeties06. session 06   css color_andlayoutpropeties
06. session 06 css color_andlayoutpropetiesPhúc Đỗ
 
05. session 05 introducing css
05. session 05   introducing css05. session 05   introducing css
05. session 05 introducing cssPhúc Đỗ
 
03. session 03 using lists and tables
03. session 03   using lists and tables03. session 03   using lists and tables
03. session 03 using lists and tablesPhúc Đỗ
 
02. session 02 working with html elements
02. session 02   working with html elements02. session 02   working with html elements
02. session 02 working with html elementsPhúc Đỗ
 
15. session 15 data binding
15. session 15   data binding15. session 15   data binding
15. session 15 data bindingPhúc Đỗ
 
01. session 01 introduction to html
01. session 01   introduction to html01. session 01   introduction to html
01. session 01 introduction to htmlPhúc Đỗ
 

More from Phúc Đỗ (15)

15. session 15 data binding
15. session 15   data binding15. session 15   data binding
15. session 15 data binding
 
14. session 14 dhtml filter
14. session 14   dhtml filter14. session 14   dhtml filter
14. session 14 dhtml filter
 
13. session 13 introduction to dhtml
13. session 13   introduction to dhtml13. session 13   introduction to dhtml
13. session 13 introduction to dhtml
 
12. session 12 java script objects
12. session 12   java script objects12. session 12   java script objects
12. session 12 java script objects
 
11. session 11 functions and objects
11. session 11   functions and objects11. session 11   functions and objects
11. session 11 functions and objects
 
10. session 10 loops and arrays
10. session 10   loops and arrays10. session 10   loops and arrays
10. session 10 loops and arrays
 
09. session 9 operators and statements
09. session 9   operators and statements09. session 9   operators and statements
09. session 9 operators and statements
 
08. session 08 intoduction to javascript
08. session 08   intoduction to javascript08. session 08   intoduction to javascript
08. session 08 intoduction to javascript
 
07. session 07 adv css properties
07. session 07   adv css properties07. session 07   adv css properties
07. session 07 adv css properties
 
06. session 06 css color_andlayoutpropeties
06. session 06   css color_andlayoutpropeties06. session 06   css color_andlayoutpropeties
06. session 06 css color_andlayoutpropeties
 
05. session 05 introducing css
05. session 05   introducing css05. session 05   introducing css
05. session 05 introducing css
 
03. session 03 using lists and tables
03. session 03   using lists and tables03. session 03   using lists and tables
03. session 03 using lists and tables
 
02. session 02 working with html elements
02. session 02   working with html elements02. session 02   working with html elements
02. session 02 working with html elements
 
15. session 15 data binding
15. session 15   data binding15. session 15   data binding
15. session 15 data binding
 
01. session 01 introduction to html
01. session 01   introduction to html01. session 01   introduction to html
01. session 01 introduction to html
 

Recently uploaded

Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 

Recently uploaded (20)

Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 

04. session 04 working withformsandframes

  • 1. Working with Forms and Frames04 Session 4
  • 2. Module Introduction  Frames  Forms and Controls
  • 3. FRAMES  Explain the FRAMESET element  Explain the IFRAME element  Explain the NOFRAME element
  • 4. FRAMES  Frames refer to a technique of dividing the browser windows into multiple sub-windows.  Each sub-window is called as a frame.  Each frame contains a separate html page and is independent of other frames in the browser.
  • 5. FRAMESET Elements  A frameset specifies a general layout of a web page that consists of frames.  It defines how the browser should be divided into frames.  To specify this division, the FRAMESET elements provides the ROWS and COLS attributes.
  • 6. FRAMESET Element <html> <head> <title>Welcome</title> </head> <frameset cols="50%,50%" rows=“*”> <frame src="First.html"> <frame src="Second.html"> </frameset> </html>
  • 7. FRAMESET Element  Attribute of Frameset Attribute Description frameborder Specifies where frames within a frameset consist of borders. framespacing Specifies the space between individual frames with a framset.
  • 8. FRAME  Attribute of Frame Attribute Description frameborder Specifies whether the current frame consist of borders. marginheight Specifies the top and bottom margins of the current frame. marginwidth Specifies the left and right margins of the current frame. name Specifies the name of the current frame. The browser use the name to refer to the frame. noresize Informs that a user cannot resize a current frame scrolling Specifies scrollbar for the current frame
  • 9. FRAME <html> <head> <title>Welcome</title> </head> <frameset rows="100,*"> <frame src="Banner.html" frameborder="1" noresize> <frameset cols="25%,*" frameborder="NO" noresize> <frame src="Links.html" name="leftFrame" scrolling="NO" noresize> <frame src="Main.html" name="contents" frameborder="0"> </frameset> </frameset> <noframes></noframes> </html>
  • 10. IFRAME Element  Inline frames allow you to embedded an HTML page within a main HTML page such that the inserted page is displayed as a part of document’s flow.  Inline frames are also called as “floating frames”.
  • 11. IFRAME Element <html> <head> <title>Untitled Document</title> </head> <body> <p>This page support iframe.</p> <iframe src="AboubtUs.html" width="250" height="100" scrolling="yes" frameborder="1"/> <p>This browser does not support IFRAME element.</p> </body> </html>
  • 12. NORAME Element  One of the limitations of using frames is that the frames are not supported by all browser.  The “NOFRAME” element specifies the text to be displayed in the browser if the browser does not support frame <noframes> <body> <p>This browser does not support frames.</p> </body> </noframes>
  • 13. FORMS AND CONTROLS  Explain HTML forms  Describe the basic elements  Explain the INPUT element  Explain the LABEL element  Explain the BUTTON element  Explain the SELECT and OPTION elements
  • 14. Forms  An HTML form is a container that consists of various controls such as checkboxes, radio buttons, menus, …  For example, consider a Login form that allows you to specify the login name and password.
  • 15. Forms
  • 16. Forms  Attribute of Form Attribute Description action Specifies the URL where the form data will be submitted and processed. method Indicates an HTTP method that specifies how the data of the form is send to server. This attribute has two values namely: GET and POST.
  • 17. Basic Controls  Label  Text Box  Button  Check Box  Radio Button
  • 18. INPUT Element  A control allows you to accept different type of input from the user.  The different values that the type attribute can take care:  Text for Text Box  Password for Password  Submit for the Submit button  Reset for the Reset button  Radio for Radio Button  Checkbox for Check Boxes
  • 19. LABEL Element  A LABEL element creates a label control on a form.  You use the FOR attribute associates a label with another control.  The value of the FOR attribute must be the same as the value of the ID attribute of the associated control element.
  • 20. BUTTON Element  A BUTTON element creates a button on a form.  The buttons created using the BUTTON element are similar to buttons created with INPUT element, however it’s offer richer functionalities.
  • 21. MENU Element  Menus are control that allow the user to select an option from a given set of options.  To create menu, you use SELECT element. The select element must have at least one OPTION element.  Menu that allows the user to select a single option or multiple options.
  • 22. Registration form <html> <tr> <body> <td>Address:</td> <form id="frmReg" name="frmReg" method="post" action=""> <td> <h2>Account Registration Form</h2> <textarea name="textarea" cols="19"></textarea> <table width="300"> </td> <tr> </tr> <td width="120">Name:</td> <tr> <td width="180"> <td></td> <input name="textfield" type="text" size="25" /> <td> </td> <input type="submit" name="Submit" value="Submit" /> </tr> <input type="reset" name="Submit2" value="Reset" /> <tr> </td> <td>Marital Status: </td> </tr> <td> </table> <select name="select"> </form> <option>Single</option> </body> <option>Married</option> </html> <option>Married But Available</option> </select> </td> </tr>
  • 23. Summary  A form is selection of an HTML document that contains special elements called as controls.  Control are used to accept input from user and provide some interaction  The <FORM> element is used to create the region on the page that will be treated as a form.  The <INPUT> element defines the type and appearance of the control to be displayed on the form Building Dynamic Websites/Session 1/ 23 of 16
  • 24. Summary…  Frames divide a Web broswer’s window into separate regions, each of which can display separate scrollable page.  An HTML document with frames has a HEAD and a FRAMESET section.  Cannot use BODY and FRAMSET set elements together  The NOFRAMES element is used to specify alternate content to be used if the browser does not support The IFRAME element is used to define inline frame Building Dynamic Websites/Session 1/ 24 of 16 