Skip to content

Commit

Permalink
Add photo
Browse files Browse the repository at this point in the history
  • Loading branch information
yendrrek authored Oct 27, 2024
1 parent ca416b4 commit 37b22d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Test HTML</h1>
This is an example of an <a href="https://example.com" target="_blank" style="color: blue; text-decoration: none;" onclick="alert('You clicked the link!')" onmouseover="this.style.color='red'" onmouseout="this.style.color='blue'">anchor tag</a> with various attributes.
</p>

<img src="https://via.placeholder.com/150" alt="Placeholder Image" usemap="#image-map" style="border: 2px solid #000;" onclick="alert('Image clicked!')" onmouseover="this.style.borderColor='red'" onmouseout="this.style.borderColor='#000'">
<img src="./franek_auto.jpg" alt="Placeholder Image" usemap="#image-map" style="border: 2px solid #000;" onclick="alert('Image clicked!')" onmouseover="this.style.borderColor='red'" onmouseout="this.style.borderColor='#000'">

<map name="image-map">
<area shape="rect" coords="34,44,270,350" alt="Rectangle Area" href="https://example.com/rectangle" style="cursor: pointer;" onclick="alert('Rectangle area clicked!')" onmouseover="this.style.backgroundColor='yellow'" onmouseout="this.style.backgroundColor='transparent'">
Expand Down

0 comments on commit 37b22d9

Please sign in to comment.