You can use ASP image control to show your picture.
And use
Attributes.Add to add attribute alt onto image control in Page_Load to
achieve the purpose with WCAG.
Image1.Attributes.Add("alt","'x'");
The style can be defined still like with img control.
Regards