User Tools

Site Tools


Sidebar

en:objects:btn

btn

Object for managing buttons on the current page (BUTTON tag)



Example of a button:
code : button name="qwer" id="2134" type="button">button<:BUTTON>

Description
the BUTTON Tag creates buttons on a web page and its action resembles the result obtained using the input tag (with the type="button | reset | submit"attribute). In contrast, a tag, a button, offering the advanced capabilities for creating buttons. For example, you can place any HTML elements, including images, on such a button. Using styles, you can define the appearance of a button by changing the font, background color, size, and other parameters.

Theoretically, the button tag should be located inside the form set by the form element. However, browsers do not display an error message and work correctly with the button tag if it occurs independently. However, if you need to send the result of clicking the button to the server, you must put the button in the form container

Learn more about the BUTTON tag (source)



basic functionality

en/objects/btn.txt · Last modified: 2026/08/05 22:29 (external edit)