I know it's not online, but anyway, I strongly recommend this book (any edition, of course):
Gelman, A., Carlin, J. B., Stern, H. S. Rubin, D. B., Bayesian Data Analysis, Second Edition (Chapman & Hall/CRC Texts in Statistical Science), 2nd edn. (Chapman and Hall/CRC, 2003).
Its main...