0% found this document useful (0 votes)
18 views2 pages

HTML Form Elements Guide

The document contains HTML code examples for various form elements including text boxes, radio buttons, checkboxes, select options, submit buttons, and font tags. Each example is structured within basic HTML tags and demonstrates how to create interactive elements on a web page. The document is authored by Suresh Suthar from RPS PALI.

Uploaded by

krishujangid1
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

HTML Form Elements Guide

The document contains HTML code examples for various form elements including text boxes, radio buttons, checkboxes, select options, submit buttons, and font tags. Each example is structured within basic HTML tags and demonstrates how to create interactive elements on a web page. The document is authored by Suresh Suthar from RPS PALI.

Uploaded by

krishujangid1
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

TEXT BOX :

HTML NOTES 11th class (RPS PALI)


<HTML>
<HEAD>
<TITLE>MY PAGE</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="TEXT" NAME="FNAME" VALUE="JOHN"><BR>

<INPUT TYPE="TEXT" NAME="LNAME" VALUE="DOE">


</FORM>

</BODY>
</HTML>

RADIO BUTTON :-

<HTML>
<HEAD>
<TITLE>MY PAGE</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="RADIO" NAME="R1" > MALE

<INPUT TYPE="RADIO" NAME="R1" > FEMALE


</FORM>

</BODY>
</HTML>

CHECK BOX :-

<HTML>
<HEAD>
<TITLE>MY PAGE</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="CHECKBOX" NAME="C1" > MALE

<INPUT TYPE="CHECKBOX" NAME="C2" > FEMALE


</FORM>

</BODY>
</HTML>
SELECT OPTION :-

<HTML>
<HEAD>
<TITLE>MY PAGE</TITLE>
</HEAD>
<BODY>
<FORM>
<P>SELECT OPTION</P>

<SELECT>
<OPTION> OPT1
<OPTION SELECTED> OPT2
<OPTION> OPT3
<OPTION> OPT4
</SELECT>
</FORM>

</BODY>
</HTML>

SUBMIT BUTTON :-

<HTML>
<HEAD>
<TITLE>MY PAGE</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="TEXT" SIZE="10" MAXLENGTH="30"><BR>
<INPUT TYPE="SUBMIT" VALUE="SUBMIT">
</FORM>
</BODY>
</HTML>

FONT TAG :-

<HTML>
<HEAD>
<TITLE>MY PAGE</TITLE>
</HEAD>
<BODY>
<FONT FACE=”ARIAL” SIZE=”4” COLOR=”BLUE”>HELLO</FONT>

</BODY>
</HTML>

By Suresh Suthar (RPS PALI)

You might also like