• HTML,CSS,PHP,JAVASCRIPT ALL WEBDEVELOPMENT INFORMATION HINDI

    Tuesday, 28 February 2017

    html images

    HTML IMAGES-

    html me image ka use dawara pages beautiful lagta hai... html me aap koi bhi image add kar sakte hai. <img> tag ka use karte hai. image ki representation ka use karte hai..

    exa-

    attributes                                                                                              explanation
    src                                             -        this use image shown 
    style                                           -        this use css rules apply
    height                                       -          attributes use height set
    width                                        -              image width set karna

    include images in web pages-iska use image add karne ke liye <img> tag ka use karte hai image tag ke sath src ka use karna hota hai..
    exa-

    <html>

    <head>

    <title>web page with image</title>

    </head>

    <body>

    <img src= "image url">

    </body>

    </html>

    setting in text images- text images ke liye use kiya jata hai.

    exa-

    <html>

    <head>

    <title>image  with alternative text</title>

    </head>

    <body>

    <img src= "image url">alt="photo of ujjawal baghele">

    </body

    </html>



    setting height and width-


    exa-

    <html>

    <head>

    <title>image  with alternative text</title>

    </head>

    <body>

    <img src= "image url">height="200" width="200"

    </body

    </html>


    html image tags-



    <img> Defines an image

    <map> Defines an image-map

    <area> Defines a clickable area inside an image-map

    1 comment:

    Contact

    Name

    Email *

    Message *

    Pages