Specify the attribute to the selector as below:
$(“.ad”).attr(“height”,”500px”);
$(“#ad”).attr(“height”,”500px”);
$(“p”).attr(“height”,”500px”);
$(“img”).attr(“height”,”500px”);
Specify the attribute to the selector as below:
$(“.ad”).attr(“height”,”500px”);
$(“#ad”).attr(“height”,”500px”);
$(“p”).attr(“height”,”500px”);
$(“img”).attr(“height”,”500px”);