Horje

How to add HTML <iframe> allowpaymentrequest Attribute

Note: This attribute is Experimental.

The allowpaymentrequest set to true if a cross-origin <iframe> should be allowed to invoke the Payment Request API.

Note: This attribute is considered a legacy attribute and redefined as allow="payment".

Attribute Values

Value Description
allowpaymentrequest This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.
index.html
Example: HTML
<iframe src="https://www.paypal.com/" allowpaymentrequest>
  Your browser does not support iframe element.
</iframe>





Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin