Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Thursday, July 26, 2007

Once, Again

AH.

A lesson I learnt long ago, at the initial stages of working in this job as Software Engineer... & I forgot how to do it AGAIN.

To remove the border for hyperlinked image, use the border property:

< href = "whateveryourlinkis" border = "0">

As for the underline in the hyperlinked text and the default blue colour, use CSS to be rid of it:

a:link
{
text-decoration: none;
/*this can be any other colour you want, not necessarily black*/
color: #000000;
}

Monday, May 21, 2007

Sound Embeds In HTML

Now this is a sure giveaway at what an amateur I am. Nonetheless, the existence of this blog serves as a reminder of lessons learnt, if nothing more.

So here I have some code I got from elsewhere on how to embed sound files in HTML:

<embed src ="your_waveormp3etc_filename" width = "275"height = "24" autostart = "false" loop = "false"></embed >

The src parameter is the source audio file. The autostart determines whether the file plays automatically when the page loads.