+ 1
Inserting an image
Anyone help me with a bit of code. Still learning and I canât for the life of me figure out why this isnât working. Looks like this <div> <p class=âimage1â><img src=âimage.jpgâ alt=âThis image cannot be displayedâ/> </p> </div> Cheers.
7 Respostas
+ 1
Thank for this tutorial ! =)
+ 1
Maybe the reference to the image file is incorrect? Make sure the file is in the same folder as the html file.
+ 1
you can use an event listener in javascript to wait for the keypress, and then change the style properties of the element on the screen that you want to change.
A mouseclick might be a bit easier though, thatâs probably possible with a pseudo element in your CSS.
+ 1
Just add some CSS:
/* mouse over link */
a:hover {
border: 1px solid white;
}
/* selected link */
a:active {
border: 1px solid white;
}
Choose the right border style, color etc. and add it to the stylesheet
0
still doesnt work. i must be doing somethinf obviously wrong
0
is there anyway to get the border to âlightâ up on a keypress?