Chapter 5

Using Forms to Make a Page Interactive

IN THIS CHAPTER

Bullet Understanding web form basics

Bullet Adding a button or two

Bullet Inserting text boxes and text areas

Bullet Adding checkboxes and radio buttons

Bullet Working with lists and labels

Bullet Putting a picker on your page

From humble beginnings, forms in HTML5 are now tremendously flexible and powerful, providing natively much of the functionality that we as developers have been adding in with JavaScript over the years.

— PETER GASSTON

Publishing pages on the web is definitely an exhilarating experience. But after that initial excitement wears off, one post-publishing effect you may notice is that your pages just kind of sit there. True, sitting there isn’t a terrible state for a page since the real point of publishing to the web is to put out info that other people want to read. In that case, having the page just sit there is a good thing.

Still, it would ...

Get HTML, CSS, & JavaScript All-in-One For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.