Img Align Attribute



    yogesh manthan

    The align attribute of an image specifies where the image should be aligned according to the surrounding element.

    Attribute Values: right - Align image to the right left - Align image to the left top - Align image to the top bottom - Align image to the bottom middle - Align image to the middle

    <!DOCTYPE html>
    <html lang="en">
        <title>Img Align Attribute</title>
          This is an example. <img src="image.png" alt="Image" align="middle" /> More text right here
          <img src="image.png" alt="Image" width="100" />
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.