Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

button element in html

<button></button>

<!-- example -->
<button id="mybutton">A BUtton</button>

<!-- add CSS to align(etc.) and resize them -->
<style>
  #mybutton {
	margin-top: 50%;
    margin-left: 50%;
    width: 250px;
}
  </style>
<!-- here, I centered my button -->
 
PREVIOUS NEXT
Tagged: #button #element #html
ADD COMMENT
Topic
Name
6+4 =