What Is A Link

What Is A Link
What Is A Link

Video: What Is A Link

Video: What Is A Link
Video: What Is A Link? 2024, May
Anonim

A link is a link that takes you to another website, document, or another part of the same document. An outbound link directs the visitor to another website, an inbound link directs guests to that site.

What is a link
What is a link

A direct link looks like a web address, for example, www.google.com. A hyperlink is created using HTML markup language. Any word, phrase, picture, or part of a picture can be hyperlinked using the ancor tag and its href attribute. The tag makes a link the enclosed text or image, href defines the address of the object to which the link leads. The hyperlink is usually highlighted in the text by color or font size. When you hover over it, the cursor changes to the shape of your index finger. An example of creating a hyperlink: “If you want to surprise the world with your photos and find friends, then this resource is probably suitable for you.” If you do not highlight the hyperlink with color or font size, only a lucky chance will allow the visitor to hover the cursor over the desired text and visit the resource. to which they were going to send it. To change the font color, use the color attribute of the tag: "If you want to surprise the world with your photos and find friends, then this resource is probably suitable for you." In HTML, you need to add a # sign in front of the digital color code. The tag must be inside the tag. Any image can be made a link. In this case, a picture is placed inside the tag, not text. For example, an intriguing photo will send a visitor to a whole photo album: Link can lead to email. The principle of creating a hyperlink is the same, but the format is slightly different: [email protected] If the link refers to a file with the extension, for example,.mp3, then when you click on the link, a window appears prompting you to save the music to your hard drive: Download music from one part of the document to another. In this case, the name attribute of the ancor tag is used. First, a bookmark is created in the part of the document to which you will link: Paragraph two Then a link where you need a transition: Link to the second paragraph In this case, a # symbol is required in front of the bookmark name.

Recommended: