Skip to header Skip to main navigation Skip to main content Skip to footer

User account menu

  • Log in
Amaël BERTEAU
Software Craftsman & Maker

Main navigation

  • Home
  • News
  • Software Engineering
  • Maker
  • Entrepreneuriat
  • Misc
  • Personal Projects
    • Bio
    • Curriculum Vitae
    • Skills
    • Likes
    • My Values
    • Quotes
    • Favorite Books
    • Favorite Tools

Extract metadata and links from HTML page using HtmlAgilityPack

Breadcrumb

  • Home
  • Software Engineering
  • Extract metadata and links from HTML page using HtmlAgilityPack

Software Engineering

  • Agile
  • Concepts / Practices
  • Architecture / Design
  • Implementation
  • Tools
    • FR
    • EN
By aberteau | 9:32 PM CEST, Thu July 27, 2017

In this tutorial, i will show you how to extract metadata and links from HTML page using HtmlAgilityPack

Implementation

LinkItem

Represents a link :

  • Href  : URL of the link
  • Text : InnerText of <a> tag

LinkExtractor

Extract LinkItems from the htmlData String parameter

HtmlMetadata

Represents HTML page metadata :

  • Title  : HTML Document title
  • Description : Description of web page
  • Keywords : keywords (for search engines)
  • Author : author of the page

HtmlMetadataProvider

Usage

.Net
HtmlAgilityPack

Footer menu

  • Contact

Copyright © 2026 Amael BERTEAU - All rights reserved