Skip to content

docs: add HTML parsing guide for DOMParser#3420

Open
Arsybai wants to merge 4 commits into
denoland:mainfrom
Arsybai:agent/add-html-parsing-guide
Open

docs: add HTML parsing guide for DOMParser#3420
Arsybai wants to merge 4 commits into
denoland:mainfrom
Arsybai:agent/add-html-parsing-guide

Conversation

@Arsybai

@Arsybai Arsybai commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a new tutorial for parsing HTML with DOMParser
  • explain why DOMParser, window, and document are not available as Deno globals
  • show examples using both LinkeDOM and Deno DOM
  • add the tutorial to the Examples catalog under Web standard APIs

Why

This addresses the DOMParser / HTML parsing documentation gap tracked in #3202. The guide includes the main search terms users are looking for and provides practical alternatives for parsing HTML in Deno.

Testing

  • ran deno fmt on the changed files
  • verified the examples catalog entry points to the new tutorial
  • verified the final diff only contains the tutorial page and catalog entry

Addresses the DOMParser / HTML parsing item in #3202.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant