I suggest you choose a framework based on whatever language you know well, or are willing to learn well.
I'm assuming you aren't building internal apps in an enterprise environment that would push you toward Java or .Net, but instead public facing sites/apps as an independent developer.
For Python, the major popular choices are Django[0], a "batteries included" framework, and Flask[1], a more lightweight option.
For Ruby, the equivalents are Rails[2], and Sinatra[3].
There are many other options, mostly created with a specific niche or use-case in mind.
Personally I am most familiar with the broader Python ecosystem, so additional frameworks that come to mind are Pyramid (Lightweight framework that scales up to complex projects as needed), Tornado (async non-blocking), Dash (low-code for ML), Cube (semantic web).
And of course there are many other languages (eg. Java, PHP, JS, etc.) in which you can create web sites and apps, but sticking to the popular options to start with has advantages in terms of ecosystem, documentation and other learning resources, and so on.
I'd be remis if I didn't mention one other option that has a lot of bang-for-the-buck if it fits your use case: Most websites (and a lot of web apps) are content-oriented and just a content management system. In which case, starting from an open source CMS and doing a bit of customization will get you to "done" a lot faster. There are plenty of open source CMSs to choose from (most are written in PHP) but the most popular by far is humble WordPress[4]. Check it out if your site is going to have anything like a simple posts and pages organization, and a drafts and publication workflow (personally I am invested enough in Python that even for that sort of site I default to choosing something like Wagtail or another Django-based CMS[5], or Plone[6], which reinforces what I said at the start: make your choice based on the languages and tools you know well).
[0] https://django.org/
[1] https://flask.org/
[2] https://rubyonrails.org/
[3] http://sinatrarb.org/
[4] https://wordpress.org/
[5] https://djangopackages.org/grids/g/cms/
[6] https://plone.org/