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.
- Example of Registration Form with the help of HTML Code
- <Html>
- <head>
- <title>
- Registration Page
- </title>
- </head>
- <body bgcolor="Lightskyblue">
- <br>
- <br>
- <form>
- <label> Firstname </label>
- <input type="text" name="firstname" size="15"/> <br> <br>
- <label> Middlename: </label>
- <input type="text" name="middlename" size="15"/> <br> <br>
- <label> Lastname: </label>
- <input type="text" name="lastname" size="15"/> <br> <br>
- <label>
- Course :
- </label>
- <select>
- <option value="Course">Course</option>
- <option value="BCA">BCA</option>
- <option value="BBA">BBA</option>
- <option value="B.Tech">B.Tech</option>
- <option value="MBA">MBA</option>
- <option value="MCA">MCA</option>
- <option value="M.Tech">M.Tech</option>
- </select>
- <br>
- <br>
- <label>
- Gender :
- </label><br>
- <input type="radio" name="male"/> Male <br>
- <input type="radio" name="female"/> Female <br>
- <input type="radio" name="other"/> Other
- <br>
- <br>
- <label>
- Phone :
- </label>
- <input type="text" name="country code" value="+91" size="2"/>
- <input type="text" name="phone" size="10"/> <br> <br>
- Address
- <br>
- <textarea cols="80" rows="5" value="address">
- </textarea>
- <br> <br>
- Email:
- <input type="email" id="email" name="email"/> <br>
- <br> <br>
- Password:
- <input type="Password" id="pass" name="pass"> <br>
- <br> <br>
- Re-type password:
- <input type="Password" id="repass" name="repass"> <br> <br>
- <input type="button" value="Submit"/>
- </form>
- </body>
- </html>
Comments
Post a Comment