I want to change create an account text to icon.
I can find the layout file under
var\www\html\vendor\magento\module-customer\view\frontend\layout\default.xml
<block class="Magento\Customer\Block\Account\RegisterLink" name="register-link">
<arguments>
<argument name="label" xsi:type="string" translate="true">Create an Account</argument>
</arguments>
</block>
How to change create an account text to icon
Best Answer
The HTML of register link is generated from block
RegisterLink.php
so you need to override block and add new css class infunction _toHtml()
Now add new class in css file