I have HTML and CSS page and I need to make one image clickable and have to open new page with message "You order is complete"
The button actually confirm form with several fields over which it is located. Can you help me do that?
I have HTML and CSS page and I need to make one image clickable and have to open new page with message "You order is complete"
The button actually confirm form with several fields over which it is located. Can you help me do that?
Well at the very basic you can wrap your image in a hyperlink.
Adding the attribute target="_blank"
tells the browser to open the link in a new tab or window.
<a href="http://www.google.com" target="_blank">
<img src="http://www.google.co.uk/images/srpr/logo11w.png" width="400" height="100" alt="Google"/>
</a>
This code may help you open your desired new page with the contents you mentioned.
<a href="myPage.html" target="_blank" >
<img src="myImage.png" alt="some image" />
</a>
and myPage.html will contain the following
<body>
<p>You order is complete</p>
</body