HTML Links and Images
Links help user to go other pages or specific parts of a particular page, link tag also known as hyperlinks tag.
All web pages are interconnect by hyperlinks tag using navigation.In HTML hyperlinks can be created on text as well as images
Using anchor tag click on a link and jump to another document.
The mouse arrow will turn into a hand shape, When move the mouse over a link.
HTML Links
Syntex
<a href="url"> Text Goes Here</a>
Example
<a href="https://blogshub.co.in/">Visit our HTML tutorial section</a>
HTML Images
Images are defined using the <img> tag in HTML.
<img> tag does not have a closing tag , it contains some attributes, Like src.
src : src attribute is used to specifies the URL of the image:
Example
<!DOCTYPE html>
<html>
<body>
<img src="myimage.png" alt="https://blogshub.co.in/" style="width:100px;height:100px;">
</body>
</html>
Alt Attribute
alt attribute is used to provides an alternate text for an image.
A browser will display the value of the alt attribute, if it cannot find an image.
Example
<img src="myimage.gif" alt="https://blogshub.co.in/" >