hello everyone, today i will show you a simple way to apply a style to a specific field. it doesnt have to be a form input it can also be a div tag. but for this example, i will be using an input field for this demo. lets say i have this:
<input type="button" name="MyButton" value="Submit">

and the OUTPUT looks like this:

as you can see, i dont have a class on this button, of course the easiest way to do that is to add a class, but thats not what this example is about, its about showing you how you can add style without using a class attribute

so lets say we want to make all of our input buttons color yellow, this is how we can use the style syntax:

<style type="text/css">
<!--
input[type="button"] {
background-color: #FC0;
}
-->
</style>


simple. hope that helps