How to insert a link and image in html. Plz help me to write full format of both the topics
Answers
SYNTAX FOR ONLY LINK:-
<!DOCTYPE html>
<html>
<head>
<title>HTML Hyperlinks</title>
</head>
<body>
<h1>Company</h1>
<p>
<a href="url">text</a>
</p>
</body>
</html>
[Note:- Insert the link address in place of 'url' and the text that should be displayed in place of 'text']
.
.
SYNTAX FOR ONLY IMAGE:-
<!DOCTYPE html>
<html>
<head>
<title>HTML img Tag</title>
</head>
<body>
<img src="location or link of the image" alt="add text" width="width"
height="height">
</body>
</html>
[Note:- Write location or the url of the image in place of 'location or link of the image' ; Insert any text you want to display in place of 'add text' ; Insert the height and width in place of 'height' and 'width' respectively.]
.
.
Hope this helps you!!!
Answer:
heloi dear how are u
come okaaa
im there