Skip to main content

Class-11(A+B)- General Computer

 

HTML Registration Form


:-What is HTML:-







HTML is an acronym which stands for Hyper Text Markup Language which is used for creating web pages and web applications. Let's see what is meant by Hypertext Markup Language, and Web page.

Hyper Text: HyperText simply means "Text within Text." A text has a link within it, is a hypertext. Whenever you click on a link which brings you to a new webpage, you have clicked on a hypertext. HyperText is a way to link two or more web pages (HTML documents) with each other.

Markup language: A markup language is a computer language that is used to apply layout and formatting conventions to a text document. Markup language makes text more interactive and dynamic. It can turn text into images, tables, links, etc.

Web Page: A web page is a document which is commonly written in HTML and translated by a web browser. A web page can be identified by entering an URL. A Web page can be of the static or dynamic type. With the help of HTML only, we can create static web pages.

Hence, HTML is a markup language which is used for creating attractive web pages with the help of styling, and which looks in a nice format on a web browser. An HTML document is made of many HTML tags and each HTML tag contains different content.


Brief History of HTML

In the late 1980's , a physicist, Tim Berners-Lee who was a contractor at CERN, proposed a system for CERN researchers. In 1989, he wrote a memo proposing an internet based hypertext system.

Tim Berners-Lee is known as the father of HTML. The first available description of HTML was a document called "HTML Tags" proposed by Tim in late 1991.


 

  1. Example of Registration Form with the help of HTML Code
  2. <Html>  
  3. <head>   
  4. <title>  
  5. Registration Page  
  6. </title>  
  7. </head>  
  8. <body bgcolor="Lightskyblue">  
  9. <br>  
  10. <br>  
  11. <form>  
  12.   
  13. <label> Firstname </label>         
  14. <input type="text" name="firstname" size="15"/> <br> <br>  
  15. <label> Middlename: </label>     
  16. <input type="text" name="middlename" size="15"/> <br> <br>  
  17. <label> Lastname: </label>         
  18. <input type="text" name="lastname" size="15"/> <br> <br>  
  19.   
  20. <label>   
  21. Course :  
  22. </label>   
  23. <select>  
  24. <option value="Course">Course</option>  
  25. <option value="BCA">BCA</option>  
  26. <option value="BBA">BBA</option>  
  27. <option value="B.Tech">B.Tech</option>  
  28. <option value="MBA">MBA</option>  
  29. <option value="MCA">MCA</option>  
  30. <option value="M.Tech">M.Tech</option>  
  31. </select>  
  32.   
  33. <br>  
  34. <br>  
  35. <label>   
  36. Gender :  
  37. </label><br>  
  38. <input type="radio" name="male"/> Male <br>  
  39. <input type="radio" name="female"/> Female <br>  
  40. <input type="radio" name="other"/> Other  
  41. <br>  
  42. <br>  
  43.   
  44. <label>   
  45. Phone :  
  46. </label>  
  47. <input type="text" name="country code"  value="+91" size="2"/>   
  48. <input type="text" name="phone" size="10"/> <br> <br>  
  49. Address  
  50. <br>  
  51. <textarea cols="80" rows="5" value="address">  
  52. </textarea>  
  53. <br> <br>  
  54. Email:  
  55. <input type="email" id="email" name="email"/> <br>    
  56. <br> <br>  
  57. Password:  
  58. <input type="Password" id="pass" name="pass"> <br>   
  59. <br> <br>  
  60. Re-type password:  
  61. <input type="Password" id="repass" name="repass"> <br> <br>  
  62. <input type="button" value="Submit"/>  
  63. </form>  
  64. </body>  
  65. </html>  

Comments

Popular posts from this blog

Memory Hierarchy

Memory Hierarchy A memory unit is an essential component in any digital computer since it is needed for storing programs and data. Typically, a memory unit can be classified into two categories: The memory unit that establishes direct communication with the CPU is called  Main Memory . The main memory is often referred to as RAM (Random Access Memory). The memory units that provide backup storage are called  Auxiliary Memory . For instance, magnetic disks and magnetic tapes are the most commonly used auxiliary memories. Apart from the basic classifications of a memory unit, the memory hierarchy consists all of the storage devices available in a computer system ranging from the slow but high-capacity auxiliary memory to relatively faster main memory. The following image illustrates the components in a typical memory hierarchy. Auxiliary Memory Auxiliary memory is known as the lowest-cost, highest-capacity and slowest-access storage in a computer system. Auxiliar