
In addition, it can ensure that the other div has css
Reply to the discussion (solution)
Just copy someone else’s to your local computer and take the exam with the style. Adjust other people's divs and styles. Haven't heard of this yet. .
Load other people’s webpage content into your local or iframe, and then use regular or string methods to get the content you want. It should be feasible. You can use the specific writing method yourself
Try WebRequest
Try WebRequest
How to implement it?
I don’t know what the poster wants to do.
Do you want to grab someone else’s div and display it on your webpage, while maintaining its original style?
Use iframe, or study other people’s code and write your own css style.