CSS Tutorial - #2 How to link CSS in HTML file

Опубликовано: 25 Январь 2025
на канале: Active Developer
16
4

We use link tag to make connection between HTML file and CSS file.

Link tag attributes:

1. Rel attribute — defines relationship between the file that hosts this command and the file defined in the href attribute. Value for this attribute is style sheet.

2. Type attribute — this attribute defines the content of the linked file and value is text/css.

3. Href attribute — specifies the location of the CSS file you want to link to the HTML.