# Set element inner HTML

Use the action Charles: Set Element Inner HTML workflow action and give it a CSS selector and a HTML input, EG:&#x20;

```
<span id="mySpan" style="color:blue; font-weight:bold; 
background-color:yellow; padding:5px; border-radius:5px;">Charles Rocks!</span>
```

<figure><img src="https://1746625412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR8XSg57nbIyYLBX9iJLb%2Fuploads%2FuK3x3bL2oqY625Il6mtc%2Fimage.png?alt=media&#x26;token=68442132-8767-462a-ac82-5d8956920ced" alt=""><figcaption></figcaption></figure>

Learn more about CSS selectors:

* <https://www.w3schools.com/jsref/met_document_queryselector.asp>
* <https://www.w3schools.com/css/css_selectors.asp>
* <https://www.w3schools.com/cssref/css_selectors.php>
