liveBook · Manning

Button

A button is an interactive user-interface control that a user can activate to initiate an action or select an option.

How 9 Manning books explain it

Build Python Web Apps with Streamlit

A button is a Streamlit user-interface control that can initiate an application action when activated.

How it is used
Uses buttons to give users explicit control over actions in interactive apps.
How deep it goes
Traces button values through reruns and explains repeated-widget keys and a delayed-delete display bug.
Examples
Uses a die-roll chart, a task list with Add and Delete buttons, and a game-start control.
What you can do after
Apply it via Streamlit’s st.button to trigger actions and diagnose rerun-related display problems.

Read how Build Python Web Apps with Streamlit explains button →

Architecting Accessibility

A button element is an HTML control for triggering an action through built-in keyboard, pointer, focus, and accessibility behavior.

How it is used
Distinguishes action controls from links used for navigation, especially when submitting forms.
How deep it goes
Explains built-in keyboard, pointer, focus, and assistive-technology behavior, then applies native buttons to form actions.
Examples
Shows submit and reset buttons with distinct styling and an associated warning for clearing form data.
What you can do after
Build it from scratch using native buttons for form actions, with clear labels and caution around reset.

Read how Architecting Accessibility explains button →

React Quickly, Second Edition

How it is used
Uses buttons to trigger counter updates, timer controls, form submissions, task actions, and menu-state changes.
How deep it goes
Works through reusable components, callback forwarding, and default form submission, without descending into browser event internals.
Examples
Shows increment and decrement controls, play and pause icons, task-editing controls, and a Log In button.
What you can do after
Build it from scratch as a reusable React button that accepts a label and action, then apply it in larger interfaces.

Read how React Quickly, Second Edition explains button →

.NET MAUI in Action

Button is a .NET MAUI control that presents an actionable user-interface element.

How it is used
Deploys an actionable control for login and for saving an inventory count.
How deep it goes
Shows placement, event and command wiring, asynchronous state handling, and MVVM delegation without detailing Button internals.
Examples
Uses login and Add count Buttons within LoginPage and InputPage workflows.
What you can do after
Build it from scratch by placing a Button in XAML and wiring it to an event handler or ViewModel command.

Read how .NET MAUI in Action explains button →

Tiny CSS Projects

A button is an interactive HTML element that initiates an action when activated.

How it is used
Uses buttons for actions such as submitting forms, removing cart items, and opening interactive menus.
How deep it goes
Explains semantic selection and incremental CSS styling, but stops short of button implementation beyond selectors and declarations.
Examples
Uses checkout actions, a form Send button, a social sharing control, and profile-card message and follow actions.
What you can do after
Apply CSS to style semantic buttons with reusable variants, visible interaction states, and consistent action-group layout.

Read how Tiny CSS Projects explains button →

Get Programming: Learn to code with Python

A button is a graphical user-interface widget that can be activated to initiate an action.

How it is used
Uses buttons as interactive GUI controls that trigger functions when users click them.
How deep it goes
Explains creation, placement, command binding, and click results, while deferring broader widget and event-loop details.
Examples
Demonstrates colored buttons, a background-changing button, a countdown control, and Add and Show buttons for a phonebook.
What you can do after
Apply it via tkinter to build clickable controls that invoke functions and coordinate other GUI widgets.

Read how Get Programming: Learn to code with Python explains button →

Build a Website with ChatGPT

A button is an interactive user-interface control that can be activated to trigger an action.

How it is used
Uses a button to let form users signal completion and submit entered data.
How deep it goes
Explains buttons through a dialog analogy and form submission, but stops short of deeper implementation details.
Examples
Uses OK, Send It, event sign-up, and Generate Pun buttons as concrete examples.
What you can do after
Builds a form button in generated HTML, choose its label, and use it to submit entered information.

Read how Build a Website with ChatGPT explains button →

WordPress Power Toolkit: Harness AI to build next-level websites

A button is a clickable interface control that either performs an action or links to a destination.

How it is used
Uses buttons to trigger actions, reveal information, navigate, submit forms, or save website changes.
How deep it goes
Explains button roles and demonstrates a working HTML, CSS, and JavaScript interaction without developing advanced implementation details.
Examples
Shows contact-form submission, WordPress save controls, and a More information button that reveals painting details.
What you can do after
Build it from scratch with HTML and JavaScript, style it with CSS, test it in a browser, and refine generated code.

Read how WordPress Power Toolkit: Harness AI to build next-level websites explains button →

CSS in Depth, Second Edition

An HTML button is an interactive form control that can be activated to perform an action.

How it is used
Styles buttons as parts of login forms and modal interfaces while preserving their semantic purpose.
How deep it goes
Explains practical CSS implementation, including selectors, pseudo-elements, text hiding, and absolute positioning.
Examples
Uses a styled login button and a modal close button rendered visually as a multiplication sign.
What you can do after
Apply CSS to build recognizable login and close buttons without removing meaningful button text from the HTML.

Read how CSS in Depth, Second Edition explains button →

Also covered in

What to know first

Related concepts

Questions about button

What is button?

A button is an interactive user-interface control that a user can activate to initiate an action or select an option.

Which Manning books explain button?

Build Python Web Apps with Streamlit, Architecting Accessibility, React Quickly, Second Edition, .NET MAUI in Action, Tiny CSS Projects, Get Programming: Learn to code with Python, Build a Website with ChatGPT, WordPress Power Toolkit: Harness AI to build next-level websites and 1 more.

What should I know before learning button?

Manning books that teach button usually introduce HTML, JavaScript, accessibility and checkbox first.

What is the difference between button and hyperlink?

A button is an interactive user-interface control that a user can activate to initiate an action or select an option. A hyperlink is a reference in digital content that identifies another resource or location and enables navigation to it.

What kinds of button are there?

Kinds of button include upload button and form_submit_button.

What is button a kind of?

Button is a kind of HTML element. An HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.