Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8254745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:18:00+00:00 2026-06-08T01:18:00+00:00

I am trying to save a web page (just like we do in browsers)

  • 0

I am trying to save a web page (just like we do in browsers) along with all its content and
formatting. I tried WebClient, WebRequest examples but they can only download the text part and sometimes javascript. But no css and images etc.
Is there any api for this in .Net, or any 3rd party api for .net?

It is possible, I think it because a lot applications are running for offline reading, and they show the saved pages with the same formatting and styling.
How it is done?
Any ideas ?

EDIT 1:
Web pages can be parsed and saved using HtmlAgilityPack. But is there any way to get the main article and other contents like ads, other external links separated. Is there any way to differentiate between the contents which are relevant and which are not?
(I am sorry, if this question is not clear).

Also can any one give some suggestion that how these offline reading applications (like read later/pocket etc) save a web page and format it.

Is there any way to do the same in C#?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:18:01+00:00Added an answer on June 8, 2026 at 1:18 am

    You can download a Page text as Html, then parse it and get <link rel="stylesheet" type="text/css" href="..."> or <img src="..."/> elements and download link of attributes like href or src separately.

    HtmlAgilityPack is a reliable and useful library for parsing Htmls.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to print/save a certain element's HTML from a web-page. I've retrieved the
I am trying to make a app which can save the web page offline
I'm trying to create new web page as like http://drag-2-share.appspot.com . I copied the
im trying to save a row in my settings table, it works all fine
I'm trying to save some data into an array but unfortunately all the data
I am trying to save multiple image using this code. But instead its saving
Just to summarize, I'm trying to make a live page render (browse websites) while
I'm trying to create a web page that will display an appropriate user control
I'm trying to create some javascript validation for my web app and it's all
So I've been trying to fetch a web page that uses authentication to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.