answersLogoWhite

0


Best Answer

The link element is used in the head-section of a HTML document to express relation to other files.

The most often used types of links are those for CSS files and a favicon:

<link rel="stylesheet" type="text/css" href="example.css">

<link rel="shortcut icon" href="example.ico">

<link rel="icon" type="image/png" href="example.png">

Some browsers support different functions depending on the availability of such links.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the main purpose of using link tag in HTML document?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you open HTML document?

click on html link


How do you insert a video from the internet into an HTML document?

In order to insert a video, you can paste the link into HTML. This link will cause the video to embed in webpage.


What is the head tag in HTML document?

The &lt;head&gt; at the beginning of an HTML document comes between &lt;html&gt; and &lt;body&gt;. It is a container that includes information that relates to the entire document. You can include the following tags in the &lt;head&gt; tag: &lt;title&gt; (required in an HTML document), &lt;style&gt;, &lt;base&gt;, &lt;link&gt;, &lt;meta&gt;, &lt;script&gt;, and &lt;noscript&gt;.


Explain the procedure of linking a style sheet in HTML document?

To link a style sheet into an HTML document, you will use the &lt;link&gt; tag. This tag links, or embeds, the style sheet into the document. This would look like: &lt;link rel="stylesheet" href="style.css" type="text/css" /&gt; This allows you to use the same style sheet and rules on multiple HTML documents.


How is the HTML document used for making a hyperlink?

Correct syntax for creating a hyperlink in HTML is &lt;a href="the_file_name_link.html"&gt;This is a link&lt;/a&gt;


Is JavaScript programs compiled into intermediate form and linked to a HTML document?

JavaScript isn't compiled. It's an interpreted language, which means that it's translated into 'computer language' line by line when needed. You can link JavaScript to a HTML document by using the src attribute of the script tag. If you name your external javascript 'test.js', you can inject it into your HTML page by using &lt;script type="text/javascript" src="test.js"&gt;&lt;/script&gt;.


Is a hyperlink a web address and vice versa?

A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document.When you move the cursor over a link in a Web page, the arrow will turn into a little hand.Links are specified in HTML using the tag.The tag can be used in two ways:To create a link to another document, by using the href attributeTo create a bookmark inside a document, by using the name attribute


What is a document head?

The head of a HTML document is where you define your sites title and meta tags, as well as linking to stylesheets. It is also possible to link to JavaScript in the head, but it is best to link them at the bottom of the body.


What is document heading?

The head of a HTML document is where you define your sites title and meta tags, as well as linking to stylesheets. It is also possible to link to JavaScript in the head, but it is best to link them at the bottom of the body.


What is an absolute link in HTML?

An absolute link in HTML is a link that goes to an absolute URL. There are two kinds of URLs used in HTML. The first is relative. It give the path from the current document to the document you're after. Normally you use a relative link to link to another page on your own site. For instance this link:Index Page would link to the index page of the current directory that the user was browsing.An absolute URL is complete, like What_is_an_absolute_link_in_HTML. An absolute link uses that URLWhat_is_an_absolute_link_in_HTML">This QuestionIt's called absolute, because that is the definitivelocation of the resource.


How do you make a website in HTML of Indian culture?

If you're using HTML, you would specify the "lang" value within the HTML tag. You can look at a reference table of language codes at the related link below. But per your question, as Hindi is the standard language of India, you would insert a tag that would look like: &lt;html lang="hi"&gt; ... &lt;/html&gt; If you're using an XHTML document, insert a tag like: &lt;html xmlns="http://www.w3.org/1999/xhtml" lang="hi" xml:lang="hi"&gt; ... &lt;/html&gt;


The purpose of what document was to link the states into a stronger national or federal government-?

The purpose of the constitution was to link the states into a stronger national or federal government.