Returns HTML markup string for the object.
obj.toString();
HTML string.
Direct or implicit call to âtoStringâ method returns properly formatted HTML markup string, which can be used in document.write() call or assigned to the page innerHTML property.