I’m not quite sure that I understand your question.
There are a lot of resources about designing a website. Using divs also depends on your style and experience, I don’t believe that there is a specific rule that could apply to any website since many have quite different designs. It probably boils down to what functionality you need to use and how you structured your logic. If you want to use grid or flex then of course you’ll need a container, but depending on what other elements you have you might have even more containers in that one container.
If you are talking about building the whole website, then you need to know a lot more. You should know how to construct the backend and connect it to your frontend, you might need a database to store all your information and you need to be able to deploy your website somewhere.
I believe that you will learn most things by simply building websites. In time you’ll improve. FreeCodeCamps Certifications and videos on youtube will help you improve with their challenges and examples.
This is really a basic structure. In general, you use div when you cannot use other block tags. For example, you want to create an header into your page, then you don’t need to use div because you already have an header tag. If you want to create a section into your page, the same, you already have a section tag.
div is at the image of span, tag without meaning. The difference between them is that div is a block tag and span an inline tag. If you want to change a part of a paragraph without use the important inline tag such as strong, then use a span.
All depends the case you will face. Each project is different even they can be really similar/familiar.