image in web development

 <!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>links and images</title>
</head>
<body>
    <a href="https://google.com" target="_blank">go to google</a><br>
    <a href="https://facebook.com" target="_blank">go to facebook</a><br>
    <a href="https://twitter.com" target="_blank">go to twitter</a><br>
   <a href="https://linkedin.com" target="_blank">go to linkedin</a><br>
   <a href="harry.html" target="_blank">harry</a>
   <!-- image is not present hence alt text is shown -->
   <!-- <img src="shailesh.jpg" alt="Error in loding image"> -->
   <img src="https://source.unsplash.com/360x400/?nature,water" alt="remote image">

</body>
</html>

Comments

Popular posts from this blog

priority_queue

Alignment in css

Queue data structure in c++