Chapter 4
Testing and Validating Your Code
IN THIS CHAPTER
Testing your code in (what seems like) a billion browsers
Understanding the rationale behind validation
Making sure your HTML code is up to snuff
Getting a thumb’s-up for your CSS code
Applying a stamp of approval to your JavaScript code
Validate your HTML. Know what it means to have valid HTML markup … . More information is always better than less information. Why fly blind?
— JEFF ATTWOOD
Have you ever heard of a read-only user? This play on read-only memory refers to someone whose use of the web goes only as far as reading things other people have created. I don’t know if that moniker currently applies to you. If it does, it won’t for much longer because by reading this book, you’re arming yourself with the tools necessary to be one of the web’s creators. Soon, all those other read-only users will be reading your words!
There’s something almost magical about building your very own web page with your bare hands using nothing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access