Saturday, 17 March 2018

making rest button in html

Some times it happens when we unknowingly fill something wrong in the form, the reset button if clicked as mentioned in its name clears all data filled by you. Form becomes blank and you can fill the new or corrected data in the form on your webpage.

Let us see the coding in HTML5 and output image placed below :

reset in HTML
Reset Button

<title>My Website</title>
<legend>Fill the Form : </legend>

Your Name :
<input type="text" /> <br /><br />
Upload Your Photograph : <br /><br />
<input type="file" /> <br /><br />
<input type="reset" />
<input type="submit" value="SUBMIT"></p>
  • Here we are using <br /> tag two times to make more gap (two lines gap) between two lines.
  • Again, try to understand where tags start and closes.
start off coding for website how to make programming is a part of form html by which a single choice can be chosen from many options in this tutorials of website designing or webpage design, what is html? how to create website, website design web design, You can use notepad of windows or notepad++ for writing the codes for html and css, how to make website using html and css, introduction to html programming in very easy and simple way from basic and starting. In notepad++ you can type your code and click on file menu and save as sub menu and change normal text file (*.txt) option to (HTML) Hyper Text Markup Language file (*.html) or before starting to type your code click on to language menu, find the first letter of your language in which you want to type your coding, click H submenu and select HTML language there, it will now work as a default language for your software and while you will save your file, the software will automatically choose Hyper Text Markup Language file (*.html).

There are two types of website, first is static website where no JavaScript or php is used in the coding, second is dynamic where server side programming such as php or other language is used and the client side script like JavaScript or other language is also used, third is sql language which is used for server side database management, but all the three languages which we are discussed used in dynamic websites not in static websites, both static and dynamic websites or webpages uses html - hypertext markup language and css - cascading style sheet which are primary languages for making webpage or website and necessary for both static and dynamic webpages or websites both, so have to start from html later css and later other languages to learn.
    Write comment in comment box, if any doubt.

    No comments:

    Post a Comment