Sounds like it’s time to use your favourite Search Engine and look for: WordPress Tutorials. That will help you learn using it.
For your current question you need to understand you want to change your Layout, which is very different from a Page or Post. For that you use:
Admin -> Appearance -> Customize
Or when logged in as Admin you should see an Admin bar at the very top of every page on the Front end. There you should also see a “Customize” link. Both take you to the same location. Now you are Editing your Theme Layout.
Each Theme is a little bit different with the Options provided and you will need to spend some time learning how to make the changes you want.
Yeah
But in Customize I can only change the CSS it seems. And for what I want to achieve I need to first change the HTML of the homepage/main page. And I don’t know where to do that.
How did you make out with your problem?
Did you find this area:
Admin -> Pages: (select your page)
If situation resolved would you mark this thread as Resolved or post what’s happening now.
Hmm I did not find it. Maybe looking at the wrong spot.
But what I’ve found is that probably only way to edit this is in one of the PHP-files. But I am not sure if that is correct. I don’t know how to change letters inside of a single word using PHP though. So I have left this problem for the future when I get time over to investigate it deeply
What you are confronted with is a stumbling block most WordPress Beginners experience. That is why I had suggested you Search on Tutorials.
You say you can Edit a Page or Post and that is the Content of the page. To Edit Theme Header, Footer, Menu, Widgets and such, one uses the Customize option. That is usually where the confusion comes in.
So if I for example want to add HTML for my site title. For example a <span> function in within my title.. How can I do that for my main page?
Site Title is a Theme option, not a Page option.
Admin -> Appearance -> Customize -> Navigation -> Site Identity
That is usually where one Edits the Site Logo, Site Title, etc. Being as it is a Theme option, it will apply to every page. Learning how to properly use Theme options can be an Art in itself.