Open up your settings in Atom, select 'install' from the menu on the left and search for these helpful plugins:
Probably the best of all... Clean up and indent HTML, CSS, JavaScript, PHP, Python, Ruby and more...!
Right click to use!
Pretty obvious by the name, allows you to open files in your browser from Atom by right clicking!