Home > Web Front-end > HTML Tutorial > How to reference css style in html? Introduction to three methods of html referencing css files

How to reference css style in html? Introduction to three methods of html referencing css files

不言
Release: 2018-11-08 09:43:08
Original
7009 people have browsed it

There are three ways to reference CSS styles in HTML. So, what are the three ways? This article will give you a detailed introduction to three methods for html to reference css files.

Applying style sheets to HTML documents and XHTML documents in CSS can be roughly divided into the following three methods. (Recommended tutorial: css video tutorial)

1. Use the element to call and apply external CSS files

2. Use the