change photo direction html code example
Example 1: image orientation css
#image {
image-orientation: 90deg; /* Can be changed in the live sample */
}
Example 2: rotete a imge html mdn
<div>Normal</div>
<div class="rotated">Rotated</div>
#image {
image-orientation: 90deg; /* Can be changed in the live sample */
}
<div>Normal</div>
<div class="rotated">Rotated</div>