© Risto Viita/Shutterstock



THROUGHOUT THIS BOOK’S PREVIOUS chapters, you made extensive use of HTML and CSS to format and style Web-based content. To fully unlock the potential interactivity of a webpage, developers make extensive use of the JavaScript programming language. Using JavaScript, developers can change an HTML element’s content, modify CSS styles, change attributes, and more. JavaScript is a programming language where developers specify instructions the browser must perform to accomplish a specific task. What makes JavaScript unique is that the instructions are executed within the browser, a process referred to ...

Get Introduction to Web Development Using HTML 5 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.