最新公告
  • 欢迎您光临99源码网,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!立即加入我们
  • Forms and Input Elements of HTML The George Washington University Computer Science 1023 Professor Brenner (nbrenner@gwu.edu)

    Forms and Input Elements of HTML The George Washington University Computer Science 1023 Professor Brenner (nbrenner@gwu.edu) 最后编辑:2021-05-18
    增值服务: 自动发货 使用说明 安装指导 环境配置二次开发BUG修复
    购买后自动跳转百度云,项目自提,轻松方便。
    若有个人部署运行问题,点击右侧客服按钮咨询站长

    项目介绍

    Forms and Input Elements of HTML

    The George Washington University

    Computer Science 1023

    Professor Brenner (nbrenner@gwu.edu)

     

    HTML elements that permit user input to the webpage are available as part of the <input> tag.    Full description of them is given in the usual references.   The most important ones are as follows; note that the closing </input> tag can be left out under Internet Explorer:

     

    Permit the user to enter one line of text:

       <input type=text name=somename1 value=“Initial text

     

    Permit the user to enter one line of text, which will be covered up by asterisks:

       <input type=password name=somename2

     

    Permit the programmer (not the user) to enter one line of text, which will not be displayed on screen (but is often used by Javascript programs as a temporary cache):

       <input type=hidden name=somename3

     

    Display a small square box which can be clicked by the user, to make a check mark appear in it; there must be text beside the box to inform the user what it represents:

       <input type=checkbox name=somename4> (Outside text) 

     

    Display a small round button which can be clicked by the user, to make a dot appear in it; there must be text beside the button to inform the user what it represents.  Normally, this button is one of a group, and only one of them can be selected:

       <input type=radio name=groupname5 value=young checked=true>0-18 

     

    Display a command button which can be clicked by the user, to cause transmission of the user values (see below); the caption of the button informs the user what it represents:

       <input type=submit value=A caption

     

    Display a command button which can be clicked by the user, typically to invoke a Javascript function.  It does not  transmit the user values; the caption of the button informs the user what it represents:

       <input type=button value=A caption

     

    Display a text box and command button which can be clicked by the user, in order to bring up a dialog box.  The user selects a file from a File Manager-like list, and its path and name fill the text box:

       <input type=file

     

    Two other independent tags perform similar functions; why they were not included as type= attributes within the <input> tag is unclear.

       <select name=”somename6″>

         <option value=”A”>Alfred</option>

         <option value=”B”>Bertram</option>

         <option value=”C”>Carol</option>  

       </select> 

       <textarea rows=”6″ cols=”25″ name=”somename7″>

         (Text for the textarea)          

       </textarea> 

     

    (The independent  <button> tag is used only with Javascript.)

     

    The values, texts and selections made by the user with these controls must be transmitted to another webpage for utilization.   (We will see later that they can also be processed on this same webpage with programs written in the Javascript language.)  That transmission occurs when a user control is “clicked” by the user with the mouse.  Most commonly, the type=submitcommand button is the control which is clicked.  In order to know which input control values should be sent, and to where they should be sent, the block of user controls (including the clicked command button) must be part of a form, that is, a region delimited by a pair of tags <form></form>.  The <form> tag pair is optional for the Microsoft Internet Explorer browser, but is required for most other browsers.

     

      <form action=URL name=form1>

      <input type=text value=(some initial text)

      <input type=submit value=Push me!

      </form>

     

    As usual, the URL can be the address of another HTML file on the current computer, or it can point to a website anywhere on the internet (and is then prefixed by http://).  By default, the values entered by the user to the input controls within the current form are passed as part of the website address.

    __________________________________________________________

     

    Lab:  Create a form like the following, which passes the user”s entries to another webpage.

    适用场景:

    毕业论文课程设计、公司项目参考

    运行截图

    Forms and Input Elements of HTML The George Washington University Computer Science 1023 Professor Brenner (nbrenner@gwu.edu)

    关注【程序代做 源码分享】公众号获取更多免费源码!!!

    Forms and Input Elements of HTML The George Washington University Computer Science 1023 Professor Brenner (nbrenner@gwu.edu)

    猜你在找

    99源码网专注代写Java程序,php程序,网站建设,毕业设计,课程设计,代写C/C++程序,代写数据结构,代写ios android程序。除外还代做Web开发、Php网站开发、ASP.NET网站作业等。
    99源码网 » Forms and Input Elements of HTML The George Washington University Computer Science 1023 Professor Brenner (nbrenner@gwu.edu)

    常见问题FAQ

    免费下载或者VIP会员专享资源能否直接商用?
    本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
    提示下载完但解压或打开不了?
    最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们.。
    找不到素材资源介绍文章里的示例图片?
    对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
    99源码网
    一个专注优质源码分享的平台
    • 2021-05-18Hi,初次和大家见面了,请多关照!

    发表回复

    售后服务:

    • 售后服务范围 1、商业模板使用范围内问题免费咨询
      2、源码安装、模板安装(一般 ¥50-300)服务答疑仅限SVIP用户
      3、单价超过200元的模板免费一次安装,需提供服务器信息。
      付费增值服务 1、提供软件定制、二次开发等服务请详询在线客服
      2、承接系统建站、仿站、开发、定制等服务
      3、服务器环境配置(一般 ¥50-300)
      4、网站中毒处理(需额外付费,500元/次/质保三个月)
      售后服务时间 周一至周日(法定节假日除外) 9:00-23:00
      免责声明 本站所提供的源码等资源仅供学习交流,若使用商业用途,请购买正版授权,否则产生的一切后果将由下载用户自行承担,有部分资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来信通知我们(Email: 3484724101@qq.com),我们会及时删除,给您带来的不便,我们深表歉意!

    Hi, 如果你对这款软件有疑问,可以跟我联系哦!

    联系作者
    • 6443会员总数(位)
    • 2241资源总数(个)
    • 2本周发布(个)
    • 0 今日发布(个)
    • 1727稳定运行(天)

    提供最优质的资源集合

    立即查看 了解详情