Computer Science, asked by swarichsaab, 8 months ago

How can button be created in HTML form.Give syntax ( 10 marks)​

Answers

Answered by DrNykterstein
0

Syntax for creating button:

There are actually two ways:

Way 1:

<input type="button" value="Click me!" />

Example:  &lt;input type="button" value="Click me!" /&gt;

.

.

.

.

Way 2:

<button class=""> Click me! </button>

Example:  &lt;button&gt; Click me! &lt;/button&gt;

Similar questions