程序代写代做代考 js html CSCI-396 Jeff Bush

CSCI-396 Jeff Bush
1

 HTML has several controls that we can use to get input from the user:
▪ Buttons
▪ Checkboxes
▪ Radio buttons
▪ Drop-down menus ▪ Sliders
▪ Text input
▪ And many more…
2

 Add them to the HTML document
 Make sure they have an id attribute so they
can be found within the JS code
 Recommended to place them in a

so they show by themselves and not squished with other controls
3

 The input tag is used for several controls:

 Where type is one of: ▪ button
▪ checkbox
▪ number/range
▪ text
▪ and others…
4


 More advanced buttons can be created use the