---
title: vibium attr
---

Get an HTML attribute value from an element.

## Synopsis

```
vibium attr [selector] [attribute] [flags]
```

## Examples

```sh
vibium attr "a" "href"
# Get the href of the first link

vibium attr "img" "src"
# Get the image source URL
```
