HF RL Explorer

Task: Find HTML Tags with Only Specific Attributes Using BeautifulSoup

Task: Find HTML Tags with Only Specific Attributes Using BeautifulSoup: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that uses BeautifulSoup to find HTML tags that contain only the specified attributes, excluding tags that have additional attributes.

The task

You need to write a Python script that uses BeautifulSoup to find HTML tags that contain **only** the specified attributes, excluding tags that have additional attributes.

Part of PrimeIntellect/Terminal-Lego-15k.