---
Product: html
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/html/python/idselector
---

# IDSelector

## Overview

`IDSelector` is a class in Aspose.HTML FOSS for Python.

Matches elements whose id attribute equals id_value: ``#main``.

Properties: `id_value`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `id_value` | `str` | Read | Gets the id value. |

## See Also

- [Aspose.HTML for Python — Enterprise API Reference](https://reference.aspose.com/html/python-net/)