GithubHelp home page GithubHelp logo

nearme's Introduction

Ex-04 Places Around Me

Date: 17.04.24

AIM

To develop a website to display details about the places around my house.

DESIGN STEPS

STEP 1

Create a Django admin interface.

STEP 2

Download your city map from Google.

STEP 3

Using <map> tag name the map.

STEP 4

Create clickable regions in the image using <area> tag.

STEP 5

Write HTML programs for all the regions identified.

STEP 6

Execute the programs and publish them.

CODE

<html lang="en">
    <head>
    </head>
    <script>
        function coordinate(event)
        {
            let x = event.clientX;
            let y = event.clientY;
            document.getElementById("text1").value = x;
            document.getElementById("text2").value = y;
        }
    </script>
    <body>
        <img src="map.png" width="1000px" usemap="#MapNew" onmousemove="coordinate(event)"> <br>
        <MAP name="MapNew">
            <AREA shape="RECT" coords="84,384,104,418" href="https://www.zomato.com/chennai/cream-stone-ice-cream-anna-nagar-east"
            Title="Cream Stone">
            <AREA shape="RECT" coords="740,281,579,336" href="https://www.zomato.com/chennai/ibaco-anna-nagar-west"
            Title="Ibaco">
            <AREA shape="RECT" coords="185,368,211,397" href="https://www.zomato.com/chennai/arun-ice-creams-1-anna-nagar-east"
            Title="Arun Icecream">
            <AREA shape="RECT" coords="435,497,460,527" href="https://www.zomato.com/chennai/havmor-havfunn-ice-cream-anna-nagar-east"
            Title="Havmor">
            <AREA shape="RECT" coords="647,280,661,302" href="https://www.zomato.com/chennai/ibaco-anna-nagar-west"
            Title="Ibaco">
            <AREA shape="RECT" coords="809,371,827,385" href="https://www.zomato.com/chennai/strictly-desserts-anna-nagar-east"
            Title="Strictly Desserts">
        </MAP>
        x Co-ordinate <input type="text" name="" id="text1" style="font-size:medium;"><br>
        y Co-ordinate <input type="text" name="" id="text2" style="font-size: medium;">
    </body>            
</html>


OUTPUT

nearme1 nearme2

RESULT

The program for implementing image maps using HTML is executed successfully.

nearme's People

Contributors

selvasachein avatar pradxxsh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.