![html - Is it semantically incorrect to put a <div> or <span> inside of a < button>? - Stack Overflow html - Is it semantically incorrect to put a <div> or <span> inside of a < button>? - Stack Overflow](https://i.stack.imgur.com/Ic1nL.png)
html - Is it semantically incorrect to put a <div> or <span> inside of a < button>? - Stack Overflow
![automated testing - Help in locating an image button inside div element - Software Quality Assurance & Testing Stack Exchange automated testing - Help in locating an image button inside div element - Software Quality Assurance & Testing Stack Exchange](https://i.stack.imgur.com/jkzza.png)
automated testing - Help in locating an image button inside div element - Software Quality Assurance & Testing Stack Exchange
![html - Is it semantically incorrect to put a <div> or <span> inside of a < button>? - Stack Overflow html - Is it semantically incorrect to put a <div> or <span> inside of a < button>? - Stack Overflow](https://i.stack.imgur.com/LWwnN.png)
html - Is it semantically incorrect to put a <div> or <span> inside of a < button>? - Stack Overflow
![How to click an image button but this button was inside the div - TestProject Smart Test Recorder - TestProject How to click an image button but this button was inside the div - TestProject Smart Test Recorder - TestProject](https://aws1.discourse-cdn.com/business7/uploads/testproject/original/1X/1c0ab43d8efedc7828ff54fed68d76b930c04d95.png)