Preview

Information Technology

Better Essays
Open Document
Open Document
3937 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Information Technology
HTML - Web Forms
HTML web forms are a composition of buttons, checkboxes, and text input fields embedded inside of HTML documents with one goal in mind: to capture user input. By doing things such as providing fields for user data such as names, phone number, and email addresses, web forms give users the opportunity to interact directly with a webpage.
HTML forms are placed on a web page using the <form> tag. This tag should encapsulate a series of other form elements, identifying them as a single cohesive web form.
HTML Form Element: <form name="myWebForm" action="myServerSideScript.php" method="post"> <input type="checkbox" /> Checkbox 1<br /> <input type="text" /> Text Field 1<br /> <input type="submit" value="SUBMIT" /> </form>
HTML Web Form:
-------------------------------------------------
Top of Form
Checkbox 1
Text Field 1
Bottom of Form
HTML form elements rely on action and method attributes to identify where to send the form data for processing (action) and how to process the data (method). In the code above, we've inserted some make-believe values to represent what a typical HTML form might look like behind the scenes.
Unfortunately, HTML alone is unable to process form data. A scripting language such as PHP, PERL, and/or JavaScript must be used with HTML forms to process data captured by HTML form elements. A complete form-processing example using PHP can be found here: PHP Form Processing Example.
For the purpose of following along, we can also adjust the action property slightly to have the form launch an email client instead of processing a make-believe server-side script. This will provide us with some form interactivity for us as we learn more about HTML forms.
HTML Email Form Element: <form name="myWebForm" action="mailto:youremail@email.com" method="post">

You May Also Find These Documents Helpful

  • Powerful Essays

    Cis518 Assignment 2

    • 776 Words
    • 4 Pages

    In response of student register web page, a blank web form will be displayed for entering the record. All the fields must be filled correctly in order to save the record in web database.…

    • 776 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    In order to test your IIS server implementation you decide to create a test web site using HTML. Your Senior Administrator suggests you familiarize yourself with some basic HTML tags before you begin.…

    • 242 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    In this lab I was able to identify the vulnerabilities of the Web application immediately by uncovering the Web form’s ability to handle unexpected data. This was accomplished by using DVWA tool to perform an attack exploiting a…

    • 1544 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Basta

    • 1044 Words
    • 5 Pages

    Try this code http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark Try this code http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark JavaScript Introduction lar scripting language on the internet, and works http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark Internet Explorer JavaScript Introduction http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark Google Chrome JavaScript Introduction http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark Mozilla Firefox JavaScript Introduction http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark Opera JavaScript Introduction http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark Safari JavaScript Introduction http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark What is JavaScript? avaScript was designed to add interactivity to HTML pag avaScript is a scripting language scripting language is a lightweight programming langua http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark What is JavaScript? embedded directly into HTML pages preted language (means that scripts execute without pr vaScript without purchasing a license http://www.w3schools.com JavaScript Programming for Absolute Beginners sirmark What is JavaScript?…

    • 1044 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Information Technology

    • 389 Words
    • 2 Pages

    Use the Microsoft Baseline Security Analyzer (MBSA) to detect the patches and updates that may be missing from your current installation. MBSA compares your installation to a list of currently available updates maintained in an XML file. MBSA can download the XML file when it scans your server or you can manually download the file to the server or make it available on a network server.…

    • 389 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    application that your file is an HTML document and should be displayed in a Web…

    • 376 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Html Test123

    • 1972 Words
    • 9 Pages

    HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup Language…

    • 1972 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    Cosc 1301

    • 4931 Words
    • 20 Pages

    HTML ____ are typically used to collect shipping and payment information during checkout at an e-commerce Web site.…

    • 4931 Words
    • 20 Pages
    Satisfactory Essays
  • Powerful Essays

    Worldwideweb

    • 1371 Words
    • 6 Pages

    The World-Wide-Web is a system of Internet servers that support specially formatted documents. They are formatted in a markup language called Hypertext Markup Language (HTML) which supports and links documents, graphs, video and audio files. The Web browsers such as Microsoft Internet Explorer, Firefox, Google Chrome to name a few;…

    • 1371 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Information Technology

    • 277 Words
    • 1 Page

    How is information used in the modern enterprise? How does this use affect IT systems?…

    • 277 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    This reference notes some of the most commonly used HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of available tags. Details regarding the proper use of XHTML are at the end of this document. What It Is Basic Document Tags What It Does Indicates the start and end of an HTML Document Defines the portion of the document that contains essential formatting information. The material in the head is invisible. Defines the portion of the document that contains the visible information.…

    • 1188 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Information Technology

    • 4224 Words
    • 17 Pages

    6. If you wanted to ensure that your business maintains a desirable return on your investment with technology, what should be one of your main concerns?…

    • 4224 Words
    • 17 Pages
    Good Essays
  • Powerful Essays

    Credit Card Fraud

    • 4212 Words
    • 17 Pages

    Katherine J. Barker, Jackie D'Amato, Paul Sheridon. Journal of Financial Crime. London: 2008. Vol. 15, Iss. 4; pg. 398…

    • 4212 Words
    • 17 Pages
    Powerful Essays
  • Good Essays

    The Document Object Model is a major component of Dynamic Hypertext Markup Language, or DHTML. DHTML is what has allowed web pages to become more interactive over the years. Improved animations, form processing, document manipulation, and online games are all made possible through the use of DHTML. DHTML is primarily composed of JavaScript, XHTML, CSS, and the Document Object Model (DOM). According to Chapter 10 of JavaScript 5th Edition (Gosselin, D. 2011), the DOM “represents the HTML or XML of a Web page that is displayed in a browser.” Therefore there are two aspects of the Document Object Model: HTML DOM and XML DOM. In a nutshell, the DOM is a collection of the HTML or XML elements that are rendered by a browser. To further elaborate let’s take a look at two important objects within the DOM: The Document object and the Image object.…

    • 549 Words
    • 3 Pages
    Good Essays

Related Topics