The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How to get all of the page(meta, images..) using JS
Hello. Anybody know how to get all of the page using JS ?
For example.. we have a link GOOGLE.com how can I get title tag.. for example ?
Make it using only PHP.
$html = file_get_contents("http://www.example.com");
$pos1 = strpos($html,"")+strlen("");
$pos2 = strpos($html,"")+strlen("");
$ttl = substr($html,$pos1,$pos2);
Frontend Masters is the best place to get it. They have courses on all the most important front-end technologies, from React to CSS, from Vue to D3, and beyond with Node.js and Full Stack.