This is because by default Safari sends the full web page as an image.
To get a clean PDF version of a web page in Safari, please do the following:
- Show Reader View:
- Tap Export > "Options >" (next to the web page title):
- Choose either PDF or Reader PDF and tap Back.
- Tap "Open in GoodNotes" and confirm.
Here's a screen recording you can follow.