2018-07-13 20:35:27 +08:00
|
|
|
---
|
2020-09-14 22:47:49 +08:00
|
|
|
title: "web#html API"
|
2018-09-25 22:09:28 +08:00
|
|
|
description: "web#html API provides some basic functions and values for parser html file."
|
2018-07-13 20:35:27 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
# [Available APIs](../../) >> web#html
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [Intro](#intro)
|
|
|
|
- [Functions](#functions)
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## Intro
|
|
|
|
|
2018-09-25 22:09:28 +08:00
|
|
|
web#html API provides some basic functions and values for parser html file.
|
2018-07-13 20:35:27 +08:00
|
|
|
|
|
|
|
## Functions
|
|
|
|
|
|
|
|
| function name | description |
|
|
|
|
| ----------------- | --------------- |
|
|
|
|
| `parse(str)` | parser content |
|
|
|
|
| `parseFile(path)` | parse file path |
|
|
|
|
| `parseURL(url)` | parse url |
|
|
|
|
|