I will focus on in-line URLs for free web pages and documents, such as pages at Wikipedia, arXiv, Stack Exchange, You Tube, Quora, Research Gate, and academic ones.
The book will minimize the number of those. It will have a References section with mostly conventional academic publication style citations to commercially published books, journal papers, and conference proceedings papers.