Check out example codes for "html img max tam". It will help you in understanding the concepts better.

Code Example 1

<img src="html/imagenes/prueba.jpg" border="1" alt="Este es el ejemplo de un texto alternativo" width="400" height="300">

Learn ReactJs, React Native from akashmittal.com