www.webdeveloper.com
Results 1 to 2 of 2

Thread: Beginner web designer - a few questions

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Dundee
    Posts
    2

    Question Beginner web designer - a few questions

    I'm new to this site so i haven't managed to find the beginners section soz, I've just started re-learning html and i'm having a few problems with some tags. I'm using firefox to test all the pages i'm doing and i'm using a book last published/updated in 2006.

    ok, first problem is with image mapping. the image is displaying but there are apparently no links to the other pages within the image.

    the code is as follows
    HTML Code:
    <html>
    	<head>
    	<title>Images</title>
    	</head>
    	<body>
    	This is an example of including images into a web Document.
    	<img src="./image1.jpg" usemap="#main_map"
    			height=30 width=50 />
    
    <a name=#main_map>
    	<area shape="rect" href="./123033667962.jpg"
    		alt="Image one" coords="0,0,25,25">
    	<area shape="rect" href="./Home.html"
    		alt="Home page" coords="26,26,50,50">
    	<area shape=default href="./band_songnames.html"
    		alt="Band Songnames Page">
    	</map>
    	</a>
    	</body>
    </html>
    my next problem is using the embed tag. I know the file itself works as a simle href worked fine, does embed not support mp3's or is it out of date maybe?

    <EMBED src="genericTestName.mp3" autostart=true hidden=true>

    thanks in advance
    Last edited by KDLA; 12-30-2008 at 07:58 AM.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Do not wrap in an anchor element. Add a open map tag:
    Code:
    <map name="main_map">
    http://wiki.dreamhost.com/index.php/...mbedding#Audio
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles