Subscribe to a list . They come in all flavors. There are lists for newbies and experienced developers. There are lists for those who specialize in JavaScript, Java, CGI, graphics, animation. You name it, there's a list for it.
Lists are where folks ask questions, give answers, and generally share information.
You'll find some lists on the WebMonster site and the Web Consultants Association site . Subscribe to an Internet magazine . Subscribe at Web Technique's Web site. Use a validator to check your code . Some HTML editors include a validator.