What is the link in HTML?

Unlike what the name suggests, the Hypertext Markup Language Language (HTML) brand does not define the hypertext link. Rather, it connects the HTML document with an external document. Although it is most often used in conjunction with a list of style, the link mark can also connect a document to another source such as tab, index or chapter. The connection labels should be entered in the head mark, a brand located near the beginning of the HTML document. Unlike some other brands in HTML, the starting mark link mark, but no close brand.

One of the most common places that is used is when it connects a document with an external style sheet. A stylish sheet is a document that provides information about what a website should look like. The comfort of the stylish sheet will be reflected when it is used to control the appearance of several websites at the same time. As long as each page on the website has a link to connect a page with a style list, the author can change the look of his Easily website. OnlyWhat must do is to change the appropriate element in the style sheet and the changes will be reflected on all pages on the web.

There are several different attributes that can be contained in the LINK brand, including rel , type and href attributes. The relief connects the connection that HTML has with a connected file. For example, rel = "Stylessheet" communicates that the interconnected file is a styles template. Other values ​​that can be used with this attribute are previous , next and alternative values.

Another important attribute that can be included in Link is the type type attribute. This attribute brings the type of document that is a connected file. When used in relation to the style sheet, the type of text/CSS will be. Other types of documents include sound, video and pictures. If the external location needs to be entered, the HREF attribute can be used. This attribute ofBSALESS Single Locator of Source (URL) into an external document.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?