Computer Science, asked by masira86, 3 months ago

In external CSS ______ tag is placed inside head section.​

Answers

Answered by supikaur09
0

Answer:

CSS can be added to HTML documents in 3 ways: Inline - by using the style attribute inside HTML elements. Internal - by using a <style> element in the <head> section.

Answered by anindyaadhikari13
4

Answer:

  • In external CSS <link> tag is placed inside head section.

Explanation:

1) The link tag defines relationship between the current html document and another external file.

2) It is mainly used while linking external .css files or while adding icon to website.

3) The link tag is placed inside head tag. It is an empty tag. Empty tags are those tags which require no closing tags.

Syntax:

1. To add favicon to website.

<link rel = "icon" href = "icon-url"/>

The rel attribute specifies the relationship between the document and the file. Here, the file is the website icon.

The href attribute specifies the icon url. href stands of Hypertext Reference.

2. To link to external CSS files.

<link rel = "stylesheet" href = "css-file-url"/>

The css-file-url should be the url of the .css file. The file must be saved with .css extension.

We can link multiple css files to html pages. External CSS files is mainly used when we have multiple web pages with same version of CSS co‎de. It saves a lot of time and size of co‎de. Editing CSS files affect every site it is linked to.

Note: CSS stands for Cascading Style Sheet

Similar questions