Thanks @Muhammad Usman shaikh and Could you please follow this document and examples are mentioned.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/customize-ui?pivots=b2c-custom-policy
https://learn.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-custom-policy
You can use page layout and JavaScript to control or add html control to the page. Please let us know if you need more information.