how I can add herf tag into my <a> tag? and use "#top"
<!doctype> <html> <head> <title>My trip to Spain</title> </head> <body> <img src="images/spain.jpg" alt="A picture of me in Spain"> <p>Here is a picture of me in Spain last summer!</p> <a herf="#top">my trip to spain.</a> </body> </html>
If you want to use #top you should provide an ID with the value of Id="top" to any element you want the anchor tag or link to go to.
Derek Graves838 Points
<a href="#">my trip to spain</a> its just the # symbol when you use it this way no need to specify "top"