How to get the content in the other party's div from the local website_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:17:52
Original
1343 people have browsed it

How to call the content in the div in the other party's website from my own website
I want to call the content in the



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.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template