How do I use Tag Builder CSS Class?

I want to incorporate this in a style class

```
img {
max-width: 100%;
max-height: 100%;
padding: 0px;
background-color:white;
}

TagBuilder image = new TagBuilder("img");

```

How would I then add the attributes?