Class work with html tags