title: how to extract links and titles from a .html page?
body: <p>for my website, i'd like to add a new functionality.</p>
  
  <p>I would like user to be able to upload his bookmarks backup file (from any browser if possible) so I can upload it to their profile and they don't have to insert all of them manually...</p>
  
  <p>the only part i'm missing to do this it's the part of extracting title and URL from the uploaded file.. can anyone give a clue where to start or where to read? </p>
  
  <p>used search option and (<a href="https://stackoverflow.com/questions/1821121/how-to-extract-data-from-a-raw-html-file">How to extract data from a raw HTML file?</a>) this is the most related question for mine and it doesn't talk about it..</p>
  
  <p>I really don't mind if its using jquery or php</p>
  
  <p>Thank you very much.</p>