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".
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. |
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 |