] method; 2. Use the [] method; 3. Use the [

] method; 2. Use the [] method; 3. Use the [

Home  >  Article  >  Web Front-end  >  What are the three ways to write css style sheets?

What are the three ways to write css style sheets?

coldplay.xixi
coldplay.xixiOriginal
2021-04-15 17:30:412062browse

Three ways to write css style sheets: 1. Use the [] method; 2. Use the [<link rel="stylesheet" href="1.css">] method; 3. Use the [

What are the three ways to write css style sheets?

The operating environment of this tutorial: windows7 system, css3 version, DELL G3 computer.

Three ways to write css style sheets:

Method 1

<style type="text/css">  </style>

What are the three ways to write css style sheets?

Method 2

<link rel="stylesheet" href="1.css">

What are the three ways to write css style sheets?

Method 3

<h1 style="font-size:10px;">样式三</h1>


What are the three ways to write css style sheets?


##Related learning recommendations:

css tutorial

The above is the detailed content of What are the three ways to write css style sheets?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn