Science, asked by great82, 11 months ago

How to display a button and a text area in HTML ​

Answers

Answered by Rememberful
17

To display a button we uses <input> tag with its type attribute specifying " button ".

<input> tag is an empty element.

This tag is used to input or start the condition where a user can input its textual or any data.

To specify a button code will be :

<input type=" submit " value =" submit ">

The resulted output will display a button where " Submit " will be written on it.

To add a text area we uses <textarea> tag.

This tag is a container element which will display a box type, display allowing entry of textual data.

For Example,

<textarea> Hello! my botnet I am sorry </textarea>


great82: haa
great82: may
great82: I mark
great82: u brainlest
Answered by Anonymous
14

Displaying text area in HTML

Syntax for displaying the text area in HTML is :

< textarea placeholder = " TEXT " ></ textarea >

It can also be written like this :

< textarea > TEXT </ textarea >

Displaying a button in HTML

Syntax for displaying a button is :

< button type = " button " > TEXT </button>

EXTRA INFO :

↪ HTML uses tags and the full form is Hyper Text Markup Language .

↪ The button displayed is clickable and the text displayed in the above example is TEXT .

↪ The text area is better to use with the syntax <textarea placeholder ="" > .

↪ Remember to close all tags .

Similar questions