Sir,
In css to align text in center we use text-align syntex
Than to align image what syntex should be use?
Hi @anujs.tt.19,
Your can use text-align to align the image also.
For example:
<div style="text-align:center;border:1px solid black;">
<img src="https://usabilla.com/graphics/resources/usabilla-logo.png" width="50" height="auto" alt="" >
</div>
Output
Or you can use positioning to set the position of the elements.
Do let me know in case you need any other information.
Thank You it solved my doubt