A link is called an anchor in HTML, and so the tag to represent it is the
<a href="http://example.com">About example</a>
one important question-
what is <a> ?
ans-
The <a> tag defines a hyperlink, which is used to link from one page to another.
-The
A
tag. When you add a link, you must point to the web page address that you want your users to go to when they click the link. You specify this with the href attribute.
The
href
attribute stands for “hypertext reference” and it's value is the URL where you want your link to go to.
For example,
to create a text link below :-
to create a text link below :-
<a href="URL of the web page where u want to go">Text of the link</a>
Next example :- <a href="http://example.com">About example</a>
one important question-
what is <a> ?
ans-
The <a> tag defines a hyperlink, which is used to link from one page to another.
The most important attribute of the <a> element is the href attribute, which indicates the link's destination.
-The
</a>
tag is required. If you forget to include it, everything following that link will also be linked, until another link closes the tag.
No comments:
Post a Comment