A submit button with the attribute formaction set, but without an associated form does nothing. This page was last modified on Jul 3, 2023 by MDN contributors. Submit buttons and icons are a great place for a pop of color: Button text colors aren't white or black, they're darkened or lightened versions of --_accent using hsl() and sticking to the hue 210: Button backgrounds follow the same hsl() pattern except for the light theme buttonsthose are set to white so their surface makes them appear close to the user, or in front of other surfaces: This background color is for making a surface appear behind other surfaces, useful for the background of the file input: The spacing around the text in the button is done using the ch unit, a relative length to the font size. The X button I want: http://tympanus.net/Tutorials/ThumbnailGridExpandingPreview/ CSS Forms - W3Schools You do this with the tag which was used in index.html. You can easily change the text and add more to each button. This style of button is achieved by modifying the --_size custom property. Another alternative is that you are allowed to have multiple classes in a tag. You have a range of uses for these, and as you can see they all have their own icons to show off. If popovertargetaction is omitted, "toggle" is the default action that will be performed by the control button. Now lets see an interesting example using the